Public Types | Public Member Functions | Protected Attributes

OpenTissue::psys::DirectMeshCoupling< types > Class Template Reference

#include <psys_direct_mesh_coupling.h>

List of all members.

Public Types

typedef types::math_types math_types
typedef math_types::real_type real_type
typedef math_types::vector3_type vector3_type
typedef types::particle_type particle_type
typedef types::mesh_type mesh_type
typedef mesh_type::vertex_type vertex_type
typedef std::map< vertex_type
*, particle_type * > 
particle_lut_type

Public Member Functions

 DirectMeshCoupling ()
mesh_typemesh ()
mesh_type const & mesh () const
particle_typeparticle (vertex_type const &v)
particle_type const & particle (vertex_type const &v) const
particle_typeoperator() (vertex_type const *v)
bool empty () const
void clear ()
template<typename particle_system_type >
void init (particle_system_type &system, mesh_type &mesh)

Protected Attributes

particle_lut_type m_particle_lut
 Internal data structure used to find correspond particle of vertex.
mesh_typem_mesh
 A pointer to the surface mesh.

template<typename types>
class OpenTissue::psys::DirectMeshCoupling< types >


Member Typedef Documentation

template<typename types >
typedef std::map<vertex_type*, particle_type*> OpenTissue::psys::DirectMeshCoupling< types >::particle_lut_type
template<typename types >
typedef types::particle_type OpenTissue::psys::DirectMeshCoupling< types >::particle_type

Constructor & Destructor Documentation

template<typename types >
OpenTissue::psys::DirectMeshCoupling< types >::DirectMeshCoupling (  )  [inline]

Member Function Documentation

template<typename types >
void OpenTissue::psys::DirectMeshCoupling< types >::clear ( void   )  [inline]
template<typename types >
bool OpenTissue::psys::DirectMeshCoupling< types >::empty (  )  const [inline]
template<typename types >
template<typename particle_system_type >
void OpenTissue::psys::DirectMeshCoupling< types >::init ( particle_system_type &  system,
mesh_type mesh 
) [inline]
template<typename types >
mesh_type const& OpenTissue::psys::DirectMeshCoupling< types >::mesh (  )  const [inline]
template<typename types >
mesh_type& OpenTissue::psys::DirectMeshCoupling< types >::mesh (  )  [inline]
template<typename types >
particle_type* OpenTissue::psys::DirectMeshCoupling< types >::operator() ( vertex_type const *  v  )  [inline]

Adds binder support for AABB Tree.

Parameters:
v 
Returns:
template<typename types >
particle_type& OpenTissue::psys::DirectMeshCoupling< types >::particle ( vertex_type const &  v  )  [inline]
template<typename types >
particle_type const& OpenTissue::psys::DirectMeshCoupling< types >::particle ( vertex_type const &  v  )  const [inline]

Member Data Documentation

template<typename types >
mesh_type* OpenTissue::psys::DirectMeshCoupling< types >::m_mesh [protected]

A pointer to the surface mesh.

Internal data structure used to find correspond particle of vertex.


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