#include <psys_direct_mesh_coupling.h>
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_type & | mesh () |
mesh_type const & | mesh () const |
particle_type & | particle (vertex_type const &v) |
particle_type const & | particle (vertex_type const &v) const |
particle_type * | operator() (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_type * | m_mesh |
A pointer to the surface mesh. |
typedef types::math_types OpenTissue::psys::DirectMeshCoupling< types >::math_types |
typedef types::mesh_type OpenTissue::psys::DirectMeshCoupling< types >::mesh_type |
typedef std::map<vertex_type*, particle_type*> OpenTissue::psys::DirectMeshCoupling< types >::particle_lut_type |
typedef types::particle_type OpenTissue::psys::DirectMeshCoupling< types >::particle_type |
typedef math_types::real_type OpenTissue::psys::DirectMeshCoupling< types >::real_type |
typedef math_types::vector3_type OpenTissue::psys::DirectMeshCoupling< types >::vector3_type |
typedef mesh_type::vertex_type OpenTissue::psys::DirectMeshCoupling< types >::vertex_type |
OpenTissue::psys::DirectMeshCoupling< types >::DirectMeshCoupling | ( | ) | [inline] |
void OpenTissue::psys::DirectMeshCoupling< types >::clear | ( | void | ) | [inline] |
bool OpenTissue::psys::DirectMeshCoupling< types >::empty | ( | ) | const [inline] |
void OpenTissue::psys::DirectMeshCoupling< types >::init | ( | particle_system_type & | system, | |
mesh_type & | mesh | |||
) | [inline] |
mesh_type const& OpenTissue::psys::DirectMeshCoupling< types >::mesh | ( | ) | const [inline] |
mesh_type& OpenTissue::psys::DirectMeshCoupling< types >::mesh | ( | ) | [inline] |
particle_type* OpenTissue::psys::DirectMeshCoupling< types >::operator() | ( | vertex_type const * | v | ) | [inline] |
Adds binder support for AABB Tree.
v |
particle_type& OpenTissue::psys::DirectMeshCoupling< types >::particle | ( | vertex_type const & | v | ) | [inline] |
particle_type const& OpenTissue::psys::DirectMeshCoupling< types >::particle | ( | vertex_type const & | v | ) | const [inline] |
mesh_type* OpenTissue::psys::DirectMeshCoupling< types >::m_mesh [protected] |
A pointer to the surface mesh.
particle_lut_type OpenTissue::psys::DirectMeshCoupling< types >::m_particle_lut [protected] |
Internal data structure used to find correspond particle of vertex.