Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

OpenTissue::bvh::Mesh2BVHGraph< graph_type > Class Template Reference

#include <bvh_mesh2bvh_graph.h>

List of all members.

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.

Detailed Description

template<typename graph_type>
class OpenTissue::bvh::Mesh2BVHGraph< graph_type >

Mesh to BVHGraph Convresion tool.


Member Typedef Documentation

template<typename graph_type >
typedef mesh_type::face_iterator OpenTissue::bvh::Mesh2BVHGraph< graph_type >::face_iterator
template<typename graph_type >
typedef std::queue<face_type*> OpenTissue::bvh::Mesh2BVHGraph< graph_type >::face_ptr_queue [protected]
template<typename graph_type >
typedef mesh_type::face_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::face_type
template<typename graph_type >
typedef std::map<face_type *,node_ptr_type> OpenTissue::bvh::Mesh2BVHGraph< graph_type >::graph_node_map [protected]
template<typename graph_type >
typedef mesh_type::halfedge_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::halfedge_type
template<typename graph_type >
typedef OpenTissue::polymesh::PolyMesh OpenTissue::bvh::Mesh2BVHGraph< graph_type >::mesh_type
template<typename graph_type >
typedef graph_type::node_ptr_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::node_ptr_type
template<typename graph_type >
typedef graph_type::volume_type OpenTissue::bvh::Mesh2BVHGraph< graph_type >::volume_type

Member Function Documentation

template<typename graph_type >
void OpenTissue::bvh::Mesh2BVHGraph< graph_type >::run ( mesh_type mesh,
graph_type &  graph 
) [inline]

Run algorithm.

Parameters:
mesh 
graph 
template<typename graph_type >
void OpenTissue::bvh::Mesh2BVHGraph< graph_type >::visistConnection ( face_type face,
halfedge_type edge,
face_ptr_queue Q,
graph_type &  graph 
) [inline, protected]

Member Data Documentation

template<typename graph_type >
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.


The documentation for this class was generated from the following file: