Developer Documentation
ACG::SceneGraph::CollectActiveDrawModesAction Class Reference

#include <OpenFlipper/libs_required/ACG/Scenegraph/SceneGraph.hh>

Public Member Functions

bool operator() (BaseNode *_node)
 
DrawModes::DrawMode drawMode () const
 Get the collected draw modes. More...
 

Private Attributes

DrawModes::DrawMode drawMode_
 

Detailed Description

This action collects the activated draw modes available in a scenegraph. The result is the logical OR of all activated draw modes in the nodes' BaseNode::drawMode() and can be accessed by drawMode().

Note
This class implements an action that should be used as a parameter for the traverse() functions.

Definition at line 600 of file SceneGraph.hh.

Constructor & Destructor Documentation

◆ CollectActiveDrawModesAction()

ACG::SceneGraph::CollectActiveDrawModesAction::CollectActiveDrawModesAction ( )
inline

Definition at line 604 of file SceneGraph.hh.

Member Function Documentation

◆ drawMode()

DrawModes::DrawMode ACG::SceneGraph::CollectActiveDrawModesAction::drawMode ( ) const
inline

Get the collected draw modes.

Definition at line 613 of file SceneGraph.hh.

◆ operator()()

bool ACG::SceneGraph::CollectActiveDrawModesAction::operator() ( BaseNode _node)
inline

Definition at line 606 of file SceneGraph.hh.

Member Data Documentation

◆ drawMode_

DrawModes::DrawMode ACG::SceneGraph::CollectActiveDrawModesAction::drawMode_
private

Definition at line 617 of file SceneGraph.hh.


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