Frontend::Utils::SceneGraph::Filters Namespace Reference

Contains routines for performing operations on scene graphs. More...


Functions

void RemoveNode (Node *node)
 Removes the given node from a scene graph without releasing it.
void StripIdentityTransformNodes (Node *root)
 Strips away unneccesary transform nodes from a subtree.
void MakeNodeTypeSolid (NodeType type, Node *root)
 Inserts Solid-nodes at all nodes of the given type.
void WrapDrawablesInBoundingShapes (Node *root, int boundingMask)
 Encapsulates all drawable nodes in appropriate bounding shapes.
void WrapMeshShapesInBoundingBoxAligned (Node *root)
 Encapsulates all MeshShapes in BoxAligned's.
void LiftBoundingShapesOverTransforms (Node *root)
 Lifts bounding shapes over transforms nodes, transforming the shapes as they pass.


Detailed Description

Contains routines for performing operations on scene graphs.

Function Documentation

void Frontend::Utils::SceneGraph::Filters::LiftBoundingShapesOverTransforms Node *  root  ) 
 

Lifts bounding shapes over transforms nodes, transforming the shapes as they pass.

void Frontend::Utils::SceneGraph::Filters::MakeNodeTypeSolid NodeType  type,
Node *  root
 

Inserts Solid-nodes at all nodes of the given type.

void Frontend::Utils::SceneGraph::Filters::RemoveNode Node *  node  ) 
 

Removes the given node from a scene graph without releasing it.

All child nodes of the node is moved to the node's parent.

Parameters:
node Node to remove

void Frontend::Utils::SceneGraph::Filters::StripIdentityTransformNodes Node *  root  ) 
 

Strips away unneccesary transform nodes from a subtree.

Parameters:
root Root of the subtree to filter.

void Frontend::Utils::SceneGraph::Filters::WrapDrawablesInBoundingShapes Node *  root,
int  boundingMask
 

Encapsulates all drawable nodes in appropriate bounding shapes.

The bounding shapes can then be used for

void Frontend::Utils::SceneGraph::Filters::WrapMeshShapesInBoundingBoxAligned Node *  root  ) 
 

Encapsulates all MeshShapes in BoxAligned's.