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

OpenTissue::mbd::CollisionInfo< mbd_types > Class Template Reference

#include <mbd_collision_info.h>

List of all members.

Public Types

typedef mbd_types::math_policy math_policy
typedef mbd_types::geometry_type geometry_type
typedef mbd_types::body_type body_type
typedef mbd_types::material_type material_type
typedef
mbd_types::contact_container 
contact_container
typedef mbd_types::contact_type contact_type

Public Member Functions

 CollisionInfo (body_type *A, body_type *B, real_type const &envelope, material_type *material, contact_container *contacts)
void flip_bodies ()
body_typeget_body_A () const
body_typeget_body_B () const
real_type const get_envelope () const
material_typeget_material () const
contact_containerget_contacts () const

Protected Types

typedef math_policy::real_type real_type
typedef math_policy::value_traits value_traits
typedef math_policy::vector3_type vector3_type
typedef math_policy::coordsys_type coordsys_type
typedef
math_policy::quaternion_type 
quaternion_type
typedef math_policy::matrix3x3_type matrix3x3_type

Protected Attributes

body_typem_A
body_typem_B
real_type m_envelope
material_typem_material
contact_containerm_contacts

template<typename mbd_types>
class OpenTissue::mbd::CollisionInfo< mbd_types >


Member Typedef Documentation

template<typename mbd_types >
typedef mbd_types::body_type OpenTissue::mbd::CollisionInfo< mbd_types >::body_type
template<typename mbd_types >
typedef mbd_types::contact_container OpenTissue::mbd::CollisionInfo< mbd_types >::contact_container
template<typename mbd_types >
typedef mbd_types::contact_type OpenTissue::mbd::CollisionInfo< mbd_types >::contact_type
template<typename mbd_types >
typedef math_policy::coordsys_type OpenTissue::mbd::CollisionInfo< mbd_types >::coordsys_type [protected]
template<typename mbd_types >
typedef mbd_types::geometry_type OpenTissue::mbd::CollisionInfo< mbd_types >::geometry_type
template<typename mbd_types >
typedef mbd_types::material_type OpenTissue::mbd::CollisionInfo< mbd_types >::material_type
template<typename mbd_types >
typedef mbd_types::math_policy OpenTissue::mbd::CollisionInfo< mbd_types >::math_policy
template<typename mbd_types >
typedef math_policy::matrix3x3_type OpenTissue::mbd::CollisionInfo< mbd_types >::matrix3x3_type [protected]
template<typename mbd_types >
typedef math_policy::quaternion_type OpenTissue::mbd::CollisionInfo< mbd_types >::quaternion_type [protected]
template<typename mbd_types >
typedef math_policy::real_type OpenTissue::mbd::CollisionInfo< mbd_types >::real_type [protected]
template<typename mbd_types >
typedef math_policy::value_traits OpenTissue::mbd::CollisionInfo< mbd_types >::value_traits [protected]
template<typename mbd_types >
typedef math_policy::vector3_type OpenTissue::mbd::CollisionInfo< mbd_types >::vector3_type [protected]

Constructor & Destructor Documentation

template<typename mbd_types >
OpenTissue::mbd::CollisionInfo< mbd_types >::CollisionInfo ( body_type A,
body_type B,
real_type const &  envelope,
material_type material,
contact_container contacts 
) [inline]

Member Function Documentation

template<typename mbd_types >
void OpenTissue::mbd::CollisionInfo< mbd_types >::flip_bodies (  )  [inline]

Flip Bodies. This method flip bodies A and B. This is usefull when mirrowing an invokation of a collision handler.

template<typename mbd_types >
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::get_body_A (  )  const [inline]
template<typename mbd_types >
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::get_body_B (  )  const [inline]
template<typename mbd_types >
contact_container* OpenTissue::mbd::CollisionInfo< mbd_types >::get_contacts (  )  const [inline]
template<typename mbd_types >
real_type const OpenTissue::mbd::CollisionInfo< mbd_types >::get_envelope (  )  const [inline]
template<typename mbd_types >
material_type* OpenTissue::mbd::CollisionInfo< mbd_types >::get_material (  )  const [inline]

Member Data Documentation

template<typename mbd_types >
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::m_A [protected]
template<typename mbd_types >
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::m_B [protected]
template<typename mbd_types >
contact_container* OpenTissue::mbd::CollisionInfo< mbd_types >::m_contacts [protected]
template<typename mbd_types >
real_type OpenTissue::mbd::CollisionInfo< mbd_types >::m_envelope [protected]
template<typename mbd_types >
material_type* OpenTissue::mbd::CollisionInfo< mbd_types >::m_material [protected]

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