Developer Documentation
|
Definition of a draw mode. More...
Public Member Functions | |
DrawModeInternal (const std::string &_name, const DrawMode &_id, const bool _propertyBased=false) | |
void | name (const std::string &_name) |
Set the name of the DrawMode. | |
const std::string & | name () const |
Get the name of the DrawMode. | |
const DrawMode & | id () const |
bool | propertyBased () const |
DrawModeProperties & | properties () |
Private Attributes | |
std::string | name_ |
Human Readable Name. | |
DrawMode | id_ |
The id of the DrawMode. | |
bool | propertyBased_ |
Flag if the DrawMode is property based. | |
DrawModeProperties | properties_ |
The properties associated with this DrawMode. | |
Definition of a draw mode.
This class is used to collect Information about a DrawMode in one central class. It stores the name and the id of a DrawMode.
If the DrawMode gets switched to a property based one, this class will also store the properties.
Definition at line 119 of file DrawModes.cc.
|
inline |
Initializing constructor.
Definition at line 124 of file DrawModes.cc.