Developer Documentation
ACG::SceneGraph::DrawModes::DrawModeInternal Class Reference

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 DrawModeid () const
 
bool propertyBased () const
 
DrawModePropertiesproperties ()
 

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DrawModeInternal()

ACG::SceneGraph::DrawModes::DrawModeInternal::DrawModeInternal ( const std::string &  _name,
const DrawMode _id,
const bool  _propertyBased = false 
)
inline

Initializing constructor.

Definition at line 124 of file DrawModes.cc.


The documentation for this class was generated from the following file: