Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::RegularData3DController Class Reference

Controller base class for one type of Dataset. More...

#include <standardDatasets.h>

Inheritance diagram for VIEW::RegularData3DController:

VIEW::DatasetController Embeddable List of all members.

Public Slots

bool createVectorGrid ()
void computeIsoContourSurface ()
void resizeGrid ()
void createHistogramGrid ()
void visualizeGrid ()
void createSphere ()

Public Member Functions

 RegularData3DController (RegularData3DController &dc)
virtual bool write (Dataset *set, String filetype, String filename)
virtual Datasetopen (String filetype, String filename)
virtual bool createMenuEntries ()
 Create menu entries for this data type.
virtual QMenu * buildContextMenu (QTreeWidgetItem *item)
 Create a context menu for this data type.
bool computeIsoContourSurface (Dataset &data, const ColorRGBA &color, float value)
Size getNextPowerOfTwo_ (Size in) const
bool isGridSizePowerOfTwo (const RegularData3D &grid) const
RegularData3DresizeGrid (const RegularData3D &grid)
RegularData3DcreateHistogramGrid (const RegularData3D &grid)
RegularData3DgetData (Dataset *set)

Static Public Attributes

String type

Protected Member Functions

void deleteDataset_ (Dataset *set)
 In the derived class: cast to concrete type and delete the data!

Protected Attributes

ContourSurfaceDialogdialog_
GridVisualizationDialoggrid_dialog_

Detailed Description

Controller base class for one type of Dataset.


Member Function Documentation

virtual QMenu* VIEW::RegularData3DController::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 VIEW::DatasetController.

virtual bool VIEW::RegularData3DController::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 VIEW::DatasetController.