#include <SceneGraph.h>
Inheritance diagram for Fluxus::SceneGraph:


Public Types | |
| enum | Mode { RENDER, SELECT } |
Public Member Functions | |
| SceneGraph () | |
| ~SceneGraph () | |
| void | Render (Mode rendermode=RENDER) |
| virtual void | Clear () |
| Clears the graph of all primtives. | |
| void | Detach (SceneNode *node) |
| dMatrix | GetGlobalTransform (const SceneNode *node) const |
| Gets the world space transfrom of the node. | |
| void | GetBoundingBox (SceneNode *node, dBoundingBox &result) |
| ShadowVolumeGen * | GetShadowVolumeGen () |
| Accessor for the shadow volume generator. | |
| void | GetNodes (const Node *node, vector< const SceneNode * > &nodes) const |
| A utility for getting all the node in a subtree, as a flat list. | |
| void | GetConnections (const Node *node, vector< pair< const SceneNode *, const SceneNode * > > &connections) const |
| A utility for getting all the connections in a subtree, as a flat list. | |
Definition at line 49 of file SceneGraph.h.
| SceneGraph::SceneGraph | ( | ) |
Definition at line 22 of file SceneGraph.cpp.
| SceneGraph::~SceneGraph | ( | ) |
Definition at line 28 of file SceneGraph.cpp.
| void SceneGraph::Render | ( | Mode | rendermode = RENDER |
) |
Traverses the graph depth first, rendering all nodes
Definition at line 32 of file SceneGraph.cpp.
| void SceneGraph::Clear | ( | ) | [virtual] |
Clears the graph of all primtives.
Reimplemented from Fluxus::Tree.
Definition at line 260 of file SceneGraph.cpp.
| void SceneGraph::Detach | ( | SceneNode * | node | ) |
Parents the node to the root, and sets its transform to keep it physically in the same place in the world.
Definition at line 166 of file SceneGraph.cpp.
| void SceneGraph::GetBoundingBox | ( | SceneNode * | node, | |
| dBoundingBox & | result | |||
| ) |
Gets the bounding box of the node, and all its children too
Definition at line 212 of file SceneGraph.cpp.
| ShadowVolumeGen* Fluxus::SceneGraph::GetShadowVolumeGen | ( | ) | [inline] |
A utility for getting all the node in a subtree, as a flat list.
Definition at line 238 of file SceneGraph.cpp.
| void SceneGraph::GetConnections | ( | const Node * | node, | |
| vector< pair< const SceneNode *, const SceneNode * > > & | connections | |||
| ) | const |
A utility for getting all the connections in a subtree, as a flat list.
Definition at line 249 of file SceneGraph.cpp.
1.5.1