#include <modelInformation.h>
Public Member Functions |
|
ModelInformation () | |
Default Constructor. |
|
virtual | ~ModelInformation () |
Destructor. |
|
Accessors: inspectors and mutators
|
|
virtual String | getModelName (ModelType type) const |
Get a name for a
ModelType. |
|
virtual String | getColoringName (ColoringMethod type) const |
Get a name for a
ColoringMethod. |
|
virtual bool | isSurfaceModel (ModelType type) const |
Define, which Models are Surfaces.
|
|
virtual bool | modelMuteableByDisplayProperties (ModelType type) const |
Model can be modified with
DisplayProperitesDialog. |
|
virtual bool | coloringMuteableByDisplayProperties (ColoringMethod type) const |
Model can be modified with
DisplayProperitesDialog. |
|
virtual bool | modelMustBeRebuild (ModelType type) const |
Model must be rebuild, if Composite changes but hierarchy is
unchanged. |
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().
BALL::VIEW::ModelInformation::ModelInformation | ( | ) |
Default Constructor.
Calls clear.
virtual bool BALL::VIEW::ModelInformation::isSurfaceModel | ( | ModelType | type | ) | const [virtual] |
Define, which Models are Surfaces.
Add new kinds of Surfaces to this function!