ACG::SceneGraph::PickAction Class Reference

#include <SceneGraph.hh>

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

List of all members.

Public Member Functions

 PickAction (GLState &_state, PickTarget _target, unsigned int _drawmode)
 constructor: what picking target to use
bool operator() (BaseNode *_node)
void enter (BaseNode *_node)
void leave (BaseNode *_node)

Private Attributes

GLStatestate_
PickTarget pickTarget_
unsigned int drawmode_

Detailed Description

This action is used to pick an object in a scene. All GL states for picking must be set before using this action. It merely draws the scene AND uses the picking name stack. Needs GLState.

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

Definition at line 495 of file SceneGraph.hh.


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

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