BALL::VIEW::RegularData3DController Class Reference

#include <BALL/VIEW/DATATYPE/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 (RegularData3DController &dc)
virtual ~RegularData3DController ()
virtual bool write ()
 Show a file dialog for writing the selected Dataset.
virtual bool write (Dataset *set, String filetype, String filename)
virtual Datasetopen (String filetype, String filename)
virtual bool createMenuEntries ()
virtual QMenu * buildContextMenu (QTreeWidgetItem *item)
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

static String type

Protected Member Functions

void deleteDataset_ (Dataset *set)

Protected Attributes

ContourSurfaceDialogdialog_
GridVisualizationDialoggrid_dialog_

Detailed Description

Controller base class for one type of Dataset

Definition at line 57 of file standardDatasets.h.


Constructor & Destructor Documentation

BALL::VIEW::RegularData3DController::RegularData3DController (  ) 
BALL::VIEW::RegularData3DController::RegularData3DController ( RegularData3DController dc  ) 
virtual BALL::VIEW::RegularData3DController::~RegularData3DController (  )  [virtual]

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.

void BALL::VIEW::RegularData3DController::computeIsoContourSurface (  )  [slot]
bool BALL::VIEW::RegularData3DController::computeIsoContourSurface ( Dataset data,
const ColorRGBA color,
float  value 
)
void BALL::VIEW::RegularData3DController::createHistogramGrid (  )  [slot]
RegularData3D* BALL::VIEW::RegularData3DController::createHistogramGrid ( const RegularData3D grid  ) 
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.

bool BALL::VIEW::RegularData3DController::createRaytraceableGrid (  )  [slot]
void BALL::VIEW::RegularData3DController::createSphere (  )  [slot]
bool BALL::VIEW::RegularData3DController::createVectorGrid (  )  [slot]
void BALL::VIEW::RegularData3DController::deleteDataset_ ( Dataset  )  [protected, virtual]

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

Reimplemented from BALL::VIEW::DatasetController.

RegularData3D* BALL::VIEW::RegularData3DController::getData ( Dataset set  ) 
Size BALL::VIEW::RegularData3DController::getNextPowerOfTwo_ ( Size  in  )  const
bool BALL::VIEW::RegularData3DController::isGridSizePowerOfTwo ( const RegularData3D grid  )  const
virtual Dataset* BALL::VIEW::RegularData3DController::open ( String  filetype,
String  filename 
) [virtual]

Reimplemented from BALL::VIEW::DatasetController.

void BALL::VIEW::RegularData3DController::resizeGrid (  )  [slot]
RegularData3D* BALL::VIEW::RegularData3DController::resizeGrid ( const RegularData3D grid  ) 
void BALL::VIEW::RegularData3DController::visualizeGrid (  )  [slot]
virtual bool BALL::VIEW::RegularData3DController::write ( Dataset set,
String  filetype,
String  filename 
) [virtual]

Reimplemented from BALL::VIEW::DatasetController.

virtual bool BALL::VIEW::RegularData3DController::write (  )  [virtual]

Show a file dialog for writing the selected Dataset.

Reimplemented from BALL::VIEW::DatasetController.


Member Data Documentation

Definition at line 137 of file standardDatasets.h.

Definition at line 138 of file standardDatasets.h.

Definition at line 108 of file standardDatasets.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3