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. More... | |
const std::string & | name () const |
Get the name of the DrawMode. More... | |
const DrawMode & | id () const |
bool | propertyBased () const |
DrawModeProperties & | properties () |
Private Attributes | |
std::string | name_ |
Human Readable Name. More... | |
DrawMode | id_ |
The id of the DrawMode. More... | |
bool | propertyBased_ |
Flag if the DrawMode is property based. More... | |
DrawModeProperties | properties_ |
The properties associated with this DrawMode. More... | |
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.
|
inline |
Definition at line 141 of file DrawModes.cc.
|
inline |
Get the name of the DrawMode.
Definition at line 137 of file DrawModes.cc.
|
inline |
Set the name of the DrawMode.
Definition at line 132 of file DrawModes.cc.
|
inline |
Definition at line 150 of file DrawModes.cc.
|
inline |
Definition at line 145 of file DrawModes.cc.
|
private |
The id of the DrawMode.
Definition at line 156 of file DrawModes.cc.
|
private |
Human Readable Name.
Definition at line 155 of file DrawModes.cc.
|
private |
The properties associated with this DrawMode.
Definition at line 158 of file DrawModes.cc.
|
private |
Flag if the DrawMode is property based.
Definition at line 157 of file DrawModes.cc.