Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::ModelInformation Class Reference
[Other classes]

ModelInformation class. More...

#include <modelInformation.h>

List of all members.

Public Member Functions

 ModelInformation () throw ()
 Default Constructor.
virtual ~ModelInformation () throw ()
 Destructor.
Accessors: inspectors and mutators
virtual String getModelName (ModelType type) const throw ()
 Get a name for a ModelType.
virtual String getColoringName (ColoringMethod type) const throw ()
 Get a name for a ColoringMethod.
virtual bool isSurfaceModel (ModelType type) const throw ()
 Define, which Models are Surfaces.
virtual bool modelMuteableByDisplayProperties (ModelType type) const throw ()
 Model can be modified with DisplayProperitesDialog.
virtual bool coloringMuteableByDisplayProperties (ColoringMethod type) const throw ()
 Model can be modified with DisplayProperitesDialog.
virtual bool modelMustBeRebuild (ModelType type) const throw ()
 Model must be rebuild, if Composite changes but hierarchy is unchanged.


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

VIEW::ModelInformation::ModelInformation  )  throw ()
 

Default Constructor.

Calls clear.

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

Destructor.


Member Function Documentation

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

Define, which Models are Surfaces.

Add new kinds of Surfaces to this function!

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

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