BALL::VIEW::ModelInformation Class Reference
[Other classes]

#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().


Constructor & Destructor Documentation

BALL::VIEW::ModelInformation::ModelInformation (  ) 

Default Constructor. Calls clear.

virtual BALL::VIEW::ModelInformation::~ModelInformation (  )  [virtual]

Destructor.


Member Function Documentation

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

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!

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

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

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

Model can be modified with DisplayProperitesDialog