Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
ACG::SceneGraph::DrawAction Class Reference

`#include <ACG/Scenegraph/SceneGraph.hh>`

## Public Member Functions
| DrawAction (DrawModes::DrawMode _drawMode, GLState &_state, bool _blending)
| Constructor: draws the scenegraph using _drawMode.
bool | operator() (BaseNode *_node)
void | enter (BaseNode *_node)
void | leave (BaseNode *_node)

## Private Attributes
GLState & | state_
DrawModes::DrawMode | drawMode_
bool | blending_

## Detailed Description

This action is used to traverse and draw a scenegraph using the draw mode specified in the constructor. Specify if you want to draw solid or transparent objects. Needs GLState.

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

Definition at line 693 of file SceneGraph.hh.

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

- ACG/Scenegraph/SceneGraph.hh