Public Types | Public Member Functions | Protected Attributes

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

#include <psys_box.h>

Inheritance diagram for OpenTissue::psys::Box< types >:
OpenTissue::psys::Constraint< types > OpenTissue::psys::ConnectorFacade< types >

List of all members.

Public Types

typedef types::math_types math_types
typedef math_types::vector3_type vector3_type
typedef types::particle_type particle_type
typedef types::system_type system_type
typedef types::aabb_type aabb_type

Public Member Functions

aabb_typeaabb ()
aabb_type const & aabb () const
 Box ()
virtual ~Box ()
void satisfy ()

Protected Attributes

aabb_type m_aabb
 An AABB box defined a region of space where particles are restricted to be inside.

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


Member Typedef Documentation

template<typename types >
typedef types::aabb_type OpenTissue::psys::Box< types >::aabb_type
template<typename types >
typedef types::math_types OpenTissue::psys::Box< types >::math_types
template<typename types >
typedef types::particle_type OpenTissue::psys::Box< types >::particle_type
template<typename types >
typedef types::system_type OpenTissue::psys::Box< types >::system_type
template<typename types >
typedef math_types::vector3_type OpenTissue::psys::Box< types >::vector3_type

Constructor & Destructor Documentation

template<typename types >
OpenTissue::psys::Box< types >::Box (  )  [inline]
template<typename types >
virtual OpenTissue::psys::Box< types >::~Box (  )  [inline, virtual]

Member Function Documentation

template<typename types >
aabb_type& OpenTissue::psys::Box< types >::aabb (  )  [inline]
template<typename types >
aabb_type const& OpenTissue::psys::Box< types >::aabb (  )  const [inline]
template<typename types >
void OpenTissue::psys::Box< types >::satisfy (  )  [inline, virtual]

Satisfy Constraint. This method is invoked by caller.

The method is responsible for relaxing the constraint on all affected particles, that is it should adjust the positions of all affected particles in a way such that they fulfill the constraint.

Reimplemented from OpenTissue::psys::Constraint< types >.


Member Data Documentation

template<typename types >
aabb_type OpenTissue::psys::Box< types >::m_aabb [protected]

An AABB box defined a region of space where particles are restricted to be inside.


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