#include <bvh_mesh2bvh_graph.h>
Public Types | |
typedef graph_type::volume_type | volume_type |
typedef graph_type::node_ptr_type | node_ptr_type |
typedef OpenTissue::polymesh::PolyMesh | mesh_type |
typedef mesh_type::halfedge_type | halfedge_type |
typedef mesh_type::face_type | face_type |
typedef mesh_type::face_iterator | face_iterator |
Public Member Functions | |
void | run (mesh_type &mesh, graph_type &graph) |
Protected Types | |
typedef std::queue< face_type * > | face_ptr_queue |
typedef std::map< face_type *, node_ptr_type > | graph_node_map |
Protected Member Functions | |
void | visistConnection (face_type *face, halfedge_type *edge, face_ptr_queue &Q, graph_type &graph) |
Protected Attributes | |
graph_node_map | m_lookup |
Internally used data structure. Needed for looking up graph nodes corresponding to mesh faces. |
Mesh to BVHGraph Convresion tool.
typedef mesh_type::face_iterator OpenTissue::bvh::Mesh2BVHGraph< graph_type >::face_iterator |
typedef std::queue<face_type*> OpenTissue::bvh::Mesh2BVHGraph< graph_type >::face_ptr_queue [protected] |
typedef mesh_type::face_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::face_type |
typedef std::map<face_type *,node_ptr_type> OpenTissue::bvh::Mesh2BVHGraph< graph_type >::graph_node_map [protected] |
typedef mesh_type::halfedge_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::halfedge_type |
typedef OpenTissue::polymesh::PolyMesh OpenTissue::bvh::Mesh2BVHGraph< graph_type >::mesh_type |
typedef graph_type::node_ptr_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::node_ptr_type |
typedef graph_type::volume_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::volume_type |
void OpenTissue::bvh::Mesh2BVHGraph< graph_type >::run | ( | mesh_type & | mesh, | |
graph_type & | graph | |||
) | [inline] |
Run algorithm.
mesh | ||
graph |
void OpenTissue::bvh::Mesh2BVHGraph< graph_type >::visistConnection | ( | face_type * | face, | |
halfedge_type * | edge, | |||
face_ptr_queue & | Q, | |||
graph_type & | graph | |||
) | [inline, protected] |
graph_node_map OpenTissue::bvh::Mesh2BVHGraph< graph_type >::m_lookup [protected] |
Internally used data structure. Needed for looking up graph nodes corresponding to mesh faces.