33 #ifndef __H__UG__NODE_TREE__TRAVERSER_COLLISION_TREE__
34 #define __H__UG__NODE_TREE__TRAVERSER_COLLISION_TREE__
37 #include "../traverser.h"
38 #include "../collision_element_info.h"
44 class CollisionTreeRootNode;
45 class CollisionEdgesNode;
46 class CollisionTrianglesNode;
holds index pairs defining edges.
Definition: collision_edges_node.h:57
A group node featuring a bounding box and a set of points.
Definition: collision_tree_root_node.h:55
holds index tuples defining triangles.
Definition: collision_triangles_node.h:61
Enhances the Traverser base-class by methods to traverse a collision tree.
Definition: traverser_collision_tree.h:62
std::stack< CollisionTreeRootNode * > m_stackRootNodes
Definition: traverser_collision_tree.h:75
virtual void handle_collision_tree_root(CollisionTreeRootNode *colTreeRootNode)
Definition: traverser_collision_tree.cpp:56
Traverser_CollisionTree()
Definition: traverser_collision_tree.cpp:40
virtual void handle_collision_triangles(CollisionTrianglesNode *colTrisNode)
Definition: traverser_collision_tree.cpp:78
virtual ~Traverser_CollisionTree()
Definition: traverser_collision_tree.cpp:51
CollisionTreeRootNode * get_current_root_node()
Definition: traverser_collision_tree.cpp:84
virtual void handle_collision_edges(CollisionEdgesNode *colEdgesNode)
Definition: traverser_collision_tree.cpp:72
Derivates of a Traverser can be used to traverse a scenegraph.
Definition: traverser.h:54