BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
BALL::VIEW::RaytraceableGridController Class Reference

#include <BALL/VIEW/DATATYPE/standardDatasets.h>

Inheritance diagram for BALL::VIEW::RaytraceableGridController:
BALL::VIEW::DatasetController QObject BALL::Embeddable

Public Slots

void visualizeRaytraceableContourSurface ()
 
- Public Slots inherited from BALL::VIEW::DatasetController
virtual bool write ()
 Show a file dialog for writing the selected Dataset. More...
 
bool open ()
 
virtual bool deleteDatasets ()
 Delete all Datasets. More...
 
virtual bool deleteDataset ()
 Delete the currently highlighted Dataset. More...
 

Public Member Functions

 RaytraceableGridController ()
 
 RaytraceableGridController (RaytraceableGridController &rc)
 
virtual ~RaytraceableGridController ()
 
virtual bool createMenuEntries ()
 
virtual bool write (Dataset *set, String filetype, String filename)
 
virtual QMenu * buildContextMenu (QTreeWidgetItem *item)
 
RaytraceableGridgetData (Dataset *set)
 
- Public Member Functions inherited from BALL::VIEW::DatasetController
 DatasetController ()
 
 DatasetController (DatasetController &dc)
 
virtual ~DatasetController ()
 
void setDatasetControl (DatasetControl *dc)
 
DatasetControlgetDatasetControl ()
 
virtual bool handle (DatasetMessage *msg)
 
virtual bool insertDataset (Dataset *set)
 
virtual bool deleteDataset (Dataset *set)
 
vector< Dataset * > getDatasets ()
 Get all Datasets of this type in the DatasetControl. More...
 
vector< Dataset * > getSelectedDatasets ()
 Get all selected Datasets of this type in the DatasetControl. More...
 
DatasetgetSelectedDataset ()
 
bool hasDataset (Dataset *set)
 
bool hasItem (QTreeWidgetItem *item)
 Test if a given QTreeWidgetItem corresponds to a registered Dataset. More...
 
DatasetgetDataset (QTreeWidgetItem *item)
 Get the Dataset for a QTreeWidgetItem. More...
 
String getType ()
 
virtual void checkMenu (MainControl &mc)
 
vector< StringgetSupportedFileFormats ()
 
- Public Member Functions inherited from BALL::Embeddable
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 

Static Public Attributes

static String type
 

Protected Member Functions

void deleteDataset_ (Dataset *set)
 
- Protected Member Functions inherited from BALL::VIEW::DatasetController
void setStatusbarText (const String &text, bool important=false)
 
void setStatusbarText (const QString &text, bool important=false)
 
virtual Datasetopen (String, String)
 
String getFileTypes_ ()
 
String getNameFromFileName_ (String filename)
 
QAction * insertMenuEntry_ (Position pid, const QString &name, const char *slot, const String &description="", QKeySequence accel=QKeySequence(), const QString &menu_hint="", UIOperationMode::OperationMode initial_mode=UIOperationMode::MODE_ALL)
 

Protected Attributes

RaytraceableContourSurfaceDialogrt_contour_surface_dialog_
 
- Protected Attributes inherited from BALL::VIEW::DatasetController
String type_
 
vector< Stringfile_formats_
 
DatasetControlcontrol_
 
vector< QAction * > actions_
 
HashSet< QAction * > actions_for_one_set_
 
HashMap< QTreeWidgetItem
*, Dataset * > 
item_to_dataset_
 
HashMap< Dataset
*, QTreeWidgetItem * > 
dataset_to_item_
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 

Detailed Description

Controller class for RaytraceableGrid

Definition at line 310 of file standardDatasets.h.

Constructor & Destructor Documentation

BALL::VIEW::RaytraceableGridController::RaytraceableGridController ( )
BALL::VIEW::RaytraceableGridController::RaytraceableGridController ( RaytraceableGridController rc)
virtual BALL::VIEW::RaytraceableGridController::~RaytraceableGridController ( )
virtual

Member Function Documentation

virtual QMenu* BALL::VIEW::RaytraceableGridController::buildContextMenu ( QTreeWidgetItem item)
virtual

Create a context menu for this data type. Initial support for deleting and saving entries is included. Overload this method for providing further entries.

Reimplemented from BALL::VIEW::DatasetController.

virtual bool BALL::VIEW::RaytraceableGridController::createMenuEntries ( )
virtual

Create menu entries for this data type. Initial support for open file menu entry is included. Overload this method for providing further entries.

Reimplemented from BALL::VIEW::DatasetController.

void BALL::VIEW::RaytraceableGridController::deleteDataset_ ( Dataset )
protectedvirtual

In the derived class: cast to concrete type and delete the data!

Reimplemented from BALL::VIEW::DatasetController.

RaytraceableGrid* BALL::VIEW::RaytraceableGridController::getData ( Dataset set)
void BALL::VIEW::RaytraceableGridController::visualizeRaytraceableContourSurface ( )
slot
virtual bool BALL::VIEW::RaytraceableGridController::write ( Dataset set,
String  filetype,
String  filename 
)
virtual

Reimplemented from BALL::VIEW::DatasetController.

Member Data Documentation

RaytraceableContourSurfaceDialog* BALL::VIEW::RaytraceableGridController::rt_contour_surface_dialog_
protected

Definition at line 351 of file standardDatasets.h.

String BALL::VIEW::RaytraceableGridController::type
static

Definition at line 340 of file standardDatasets.h.