Public Types | Public Member Functions | Public Attributes

OpenTissue::mbd::AABB< types > Class Template Reference

#include <mbd_sweep_and_prune.h>

List of all members.

Public Types

typedef
types::math_policy::real_type 
real_type
typedef
types::math_policy::vector3_type 
vector3_type
typedef
types::math_policy::matrix3x3_type 
matrix3x3_type
typedef types::body_type body_type

Public Member Functions

 AABB (void)
void update (body_type *body, real_type const &envelope)

Public Attributes

body_typem_body
 A pointer to the corresponding body this AABB encloses.
IntervalEndpoint< typesm_beginX
IntervalEndpoint< typesm_beginY
IntervalEndpoint< typesm_beginZ
IntervalEndpoint< typesm_endX
IntervalEndpoint< typesm_endY
IntervalEndpoint< typesm_endZ

Detailed Description

template<typename types>
class OpenTissue::mbd::AABB< types >

Axis Aligned Bounding Box.


Member Typedef Documentation

template<typename types >
typedef types::body_type OpenTissue::mbd::AABB< types >::body_type
template<typename types >
typedef types::math_policy::matrix3x3_type OpenTissue::mbd::AABB< types >::matrix3x3_type
template<typename types >
typedef types::math_policy::real_type OpenTissue::mbd::AABB< types >::real_type

Constructor & Destructor Documentation

template<typename types >
OpenTissue::mbd::AABB< types >::AABB ( void   )  [inline]

Default Constructor.


Member Function Documentation

template<typename types >
void OpenTissue::mbd::AABB< types >::update ( body_type body,
real_type const &  envelope 
) [inline]

Update AABB Endpoints. This method makes sure that the coordinate value of the interval endpoints is updated, such that the AABB encloses the current state of the corresponding configuration entity.

Parameters:
body A pointer to the body the AABB encloses.
envelope The size of the collision envelope.

Member Data Documentation

template<typename types >
IntervalEndpoint<types> OpenTissue::mbd::AABB< types >::m_beginX
template<typename types >
IntervalEndpoint<types> OpenTissue::mbd::AABB< types >::m_beginY
template<typename types >
IntervalEndpoint<types> OpenTissue::mbd::AABB< types >::m_beginZ
template<typename types >
body_type* OpenTissue::mbd::AABB< types >::m_body

A pointer to the corresponding body this AABB encloses.

template<typename types >
IntervalEndpoint<types> OpenTissue::mbd::AABB< types >::m_endX
template<typename types >
IntervalEndpoint<types> OpenTissue::mbd::AABB< types >::m_endY
template<typename types >
IntervalEndpoint<types> OpenTissue::mbd::AABB< types >::m_endZ

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