ACG::SceneGraph::BoundingBoxAction Class Reference

#include <SceneGraph.hh>

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

List of all members.

Public Member Functions

bool operator() (BaseNode *_node)
void enter (BaseNode *_node)
void leave (BaseNode *_node)
const Vec3f & bbMin () const
 Returns minimum point of the bounding box.
const Vec3f & bbMax () const
 Returns maximum point of the bounding box.

Private Attributes

Vec3f bbMin_
Vec3f bbMax_
GLState state_

Detailed Description

Collect bounding box information from all nodes, using the BaseNode::boundingBox() method. The result can be accessed by bbMin() and bbMax(), yielding the 2 extreme corners of the bounding box.

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

Definition at line 247 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 .