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. More...
 
const std::string & name () const
 Get the name of the DrawMode. More...
 
const DrawModeid () const
 
bool propertyBased () const
 
DrawModePropertiesproperties ()
 

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...
 

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.

Member Function Documentation

◆ id()

const DrawMode & ACG::SceneGraph::DrawModes::DrawModeInternal::id ( ) const
inline

Definition at line 141 of file DrawModes.cc.

◆ name() [1/2]

const std::string & ACG::SceneGraph::DrawModes::DrawModeInternal::name ( ) const
inline

Get the name of the DrawMode.

Definition at line 137 of file DrawModes.cc.

◆ name() [2/2]

void ACG::SceneGraph::DrawModes::DrawModeInternal::name ( const std::string &  _name)
inline

Set the name of the DrawMode.

Definition at line 132 of file DrawModes.cc.

◆ properties()

DrawModeProperties & ACG::SceneGraph::DrawModes::DrawModeInternal::properties ( )
inline

Definition at line 150 of file DrawModes.cc.

◆ propertyBased()

bool ACG::SceneGraph::DrawModes::DrawModeInternal::propertyBased ( ) const
inline

Definition at line 145 of file DrawModes.cc.

Member Data Documentation

◆ id_

DrawMode ACG::SceneGraph::DrawModes::DrawModeInternal::id_
private

The id of the DrawMode.

Definition at line 156 of file DrawModes.cc.

◆ name_

std::string ACG::SceneGraph::DrawModes::DrawModeInternal::name_
private

Human Readable Name.

Definition at line 155 of file DrawModes.cc.

◆ properties_

DrawModeProperties ACG::SceneGraph::DrawModes::DrawModeInternal::properties_
private

The properties associated with this DrawMode.

Definition at line 158 of file DrawModes.cc.

◆ propertyBased_

bool ACG::SceneGraph::DrawModes::DrawModeInternal::propertyBased_
private

Flag if the DrawMode is property based.

Definition at line 157 of file DrawModes.cc.


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