BALL::VIEW::RegularData3DController Class Reference

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

#include <standardDatasets.h>

Inheritance diagram for BALL::VIEW::RegularData3DController:
Inheritance graph
[legend]

List of all members.


Public Slots

bool createVectorGrid ()
bool createRaytraceableGrid ()
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 Dataset * open (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
RegularData3D * resizeGrid (const RegularData3D &grid)
RegularData3D * createHistogramGrid (const RegularData3D &grid)
RegularData3D * getData (Dataset *set)

Static Public Attributes

static String type

Protected Member Functions

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

Protected Attributes

ContourSurfaceDialog * dialog_
GridVisualizationDialog * grid_dialog_

Detailed Description

Controller base class for one type of Dataset.

Member Function Documentation

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

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


Generated on Thu Aug 6 18:30:51 2009 for BALL by doxygen 1.5.8