33 #ifndef __H__UG__NODE_TREE__INTERSECT_FACES__
34 #define __H__UG__NODE_TREE__INTERSECT_FACES__
Definition: smart_pointer.h:108
A group node featuring a bounding box.
Definition: boxed_group_node.h:56
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
traverses a node-tree and intersect a given face with the contained geometry.
Definition: traverser_intersect_faces.h:51
int m_numVrts
Definition: traverser_intersect_faces.h:85
void clear_ignore_list()
clears the ignore list
Definition: traverser_intersect_faces.cpp:124
virtual void handle_collision_triangles(CollisionTrianglesNode *colTrisNode)
Definition: traverser_intersect_faces.cpp:87
std::vector< CollisionElementID > m_ignoreList
Definition: traverser_intersect_faces.h:92
virtual ~Traverser_IntersectFaces()
Definition: traverser_intersect_faces.cpp:49
virtual bool intersect_tri(const vector3 &v0, const vector3 &v1, const vector3 &v2, SPNode nodeGraph)
intersects the given triangle with all faces in the given nodeGraph.
Definition: traverser_intersect_faces.cpp:54
void ignore_element(const CollisionElementID &elemID)
adds an element to the ignore list
Definition: traverser_intersect_faces.cpp:118
virtual void handle_boxed_group(BoxedGroupNode *boxedGroup)
Definition: traverser_intersect_faces.cpp:74
vector3 m_vrts[4]
Definition: traverser_intersect_faces.h:84
std::vector< CollisionElementID > m_intersectedElementIDs
Definition: traverser_intersect_faces.h:88
Traverser_IntersectFaces()
Definition: traverser_intersect_faces.cpp:45
const std::vector< CollisionElementID > & get_intersected_element_ids() const
Definition: traverser_intersect_faces.cpp:68
Definition: collision_element_info.h:53