#include <BALL/VIEW/KERNEL/modelInformation.h>
Public Member Functions | |
ModelInformation () | |
virtual | ~ModelInformation () |
Accessors: inspectors and mutators | |
virtual String | getModelName (ModelType type) const |
virtual String | getColoringName (ColoringMethod type) const |
virtual bool | isSurfaceModel (ModelType type) const |
virtual bool | modelMuteableByDisplayProperties (ModelType type) const |
virtual bool | coloringMuteableByDisplayProperties (ColoringMethod type) const |
virtual bool | modelMustBeRebuild (ModelType type) const |
ModelInformation class. This class is used to retrieve names, types and different properties for the different models and coloring methods. It can be used to inform the VIEW libraries classes of additional model types, that are declared outside of the library itself. To do so, call MainControl::setModelInformation().
Definition at line 26 of file modelInformation.h.
BALL::VIEW::ModelInformation::ModelInformation | ( | ) |
Default Constructor. Calls clear.
virtual BALL::VIEW::ModelInformation::~ModelInformation | ( | ) | [virtual] |
Destructor.
virtual bool BALL::VIEW::ModelInformation::coloringMuteableByDisplayProperties | ( | ColoringMethod | type | ) | const [virtual] |
Model can be modified with DisplayProperitesDialog
virtual String BALL::VIEW::ModelInformation::getColoringName | ( | ColoringMethod | type | ) | const [virtual] |
Get a name for a ColoringMethod
Get a name for a ModelType
Define, which Models are Surfaces. Add new kinds of Surfaces to this function!
Model must be rebuild, if Composite changes but hierarchy is unchanged.