#include <mbd_collision_info.h>
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_type * | get_body_A () const |
body_type * | get_body_B () const |
real_type const | get_envelope () const |
material_type * | get_material () const |
contact_container * | get_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_type * | m_A |
body_type * | m_B |
real_type | m_envelope |
material_type * | m_material |
contact_container * | m_contacts |
typedef mbd_types::body_type OpenTissue::mbd::CollisionInfo< mbd_types >::body_type |
typedef mbd_types::contact_container OpenTissue::mbd::CollisionInfo< mbd_types >::contact_container |
typedef mbd_types::contact_type OpenTissue::mbd::CollisionInfo< mbd_types >::contact_type |
typedef math_policy::coordsys_type OpenTissue::mbd::CollisionInfo< mbd_types >::coordsys_type [protected] |
typedef mbd_types::geometry_type OpenTissue::mbd::CollisionInfo< mbd_types >::geometry_type |
typedef mbd_types::material_type OpenTissue::mbd::CollisionInfo< mbd_types >::material_type |
typedef mbd_types::math_policy OpenTissue::mbd::CollisionInfo< mbd_types >::math_policy |
typedef math_policy::matrix3x3_type OpenTissue::mbd::CollisionInfo< mbd_types >::matrix3x3_type [protected] |
typedef math_policy::quaternion_type OpenTissue::mbd::CollisionInfo< mbd_types >::quaternion_type [protected] |
typedef math_policy::real_type OpenTissue::mbd::CollisionInfo< mbd_types >::real_type [protected] |
typedef math_policy::value_traits OpenTissue::mbd::CollisionInfo< mbd_types >::value_traits [protected] |
typedef math_policy::vector3_type OpenTissue::mbd::CollisionInfo< mbd_types >::vector3_type [protected] |
OpenTissue::mbd::CollisionInfo< mbd_types >::CollisionInfo | ( | body_type * | A, | |
body_type * | B, | |||
real_type const & | envelope, | |||
material_type * | material, | |||
contact_container * | contacts | |||
) | [inline] |
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.
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::get_body_A | ( | ) | const [inline] |
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::get_body_B | ( | ) | const [inline] |
contact_container* OpenTissue::mbd::CollisionInfo< mbd_types >::get_contacts | ( | ) | const [inline] |
real_type const OpenTissue::mbd::CollisionInfo< mbd_types >::get_envelope | ( | ) | const [inline] |
material_type* OpenTissue::mbd::CollisionInfo< mbd_types >::get_material | ( | ) | const [inline] |
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::m_A [protected] |
body_type* OpenTissue::mbd::CollisionInfo< mbd_types >::m_B [protected] |
contact_container* OpenTissue::mbd::CollisionInfo< mbd_types >::m_contacts [protected] |
real_type OpenTissue::mbd::CollisionInfo< mbd_types >::m_envelope [protected] |
material_type* OpenTissue::mbd::CollisionInfo< mbd_types >::m_material [protected] |