BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
BALL::VIEW::ModelInformation Class Reference

#include <BALL/VIEW/KERNEL/modelInformation.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Default Constructor. Calls clear.

Destructor.


Member Function Documentation

Model can be modified with DisplayProperitesDialog

Get a name for a ColoringMethod

virtual String BALL::VIEW::ModelInformation::getModelName ( ModelType  type) const [virtual]

Get a name for a ModelType

virtual bool BALL::VIEW::ModelInformation::isSurfaceModel ( ModelType  type) const [virtual]

Define, which Models are Surfaces. Add new kinds of Surfaces to this function!

Model must be rebuild, if Composite changes but hierarchy is unchanged.

Model can be modified with DisplayProperitesDialog

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines