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::ACG::SceneGraph::PickAction Class Reference

## Public Member Functions
| PickAction (GLState &_state, PickTarget _target, DrawModes::DrawMode _drawmode)
| constructor: what picking target to use
bool | operator() (BaseNode *_node)
bool | operator() (BaseNode *_node, GLState &_state)
void | enter (BaseNode *_node)
void | leave (BaseNode *_node)

## Private Attributes
GLState & | state_
PickTarget | pickTarget_
DrawModes::DrawMode | 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 752 of file MeshNode2T.cc.

## Member Function Documentation

bool ACG::SceneGraph::PickAction::operator() | ( | BaseNode * | _node | ) |

Action applied to the node

Definition at line 110 of file SceneGraph.cc.

bool ACG::SceneGraph::PickAction::operator() | ( | BaseNode * | _node,
|  | GLState & | _state
| ) |  |

Action applied to the node Convenience operator which is used to handle calls with internal/external stack with the same operator

Definition at line 129 of file SceneGraph.cc.

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

- ACG/Scenegraph/MeshNode2T.cc
- ACG/Scenegraph/SceneGraph.cc