ACG::SceneGraph::DrawAction Class Reference

#include <SceneGraph.hh>

Collaboration diagram for ACG::SceneGraph::DrawAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DrawAction (DrawModes::DrawMode _drawMode, bool _blending)
 Constructor: draws the scenegraph using _drawMode.
bool operator() (BaseNode *_node, GLState &_state)

Private Attributes

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 680 of file SceneGraph.hh.


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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .