Public Types | Public Member Functions | Protected Attributes

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

#include <mbd_gravity.h>

Inheritance diagram for OpenTissue::mbd::Gravity< mbd_types >:
OpenTissue::mbd::ForceInterface< mbd_types >

List of all members.

Public Types

typedef mbd_types::body_type body_type
typedef
mbd_types::math_policy::vector3_type 
vector3_type

Public Member Functions

 Gravity ()
virtual ~Gravity ()
void compute (body_type const &body, vector3_type &force, vector3_type &torque)
void set_acceleration (vector3_type const &acceleration)

Protected Attributes

vector3_type m_acceleration
 The gravitatial acceleration.

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


Member Typedef Documentation

template<typename mbd_types >
typedef mbd_types::body_type OpenTissue::mbd::Gravity< mbd_types >::body_type

Constructor & Destructor Documentation

template<typename mbd_types >
OpenTissue::mbd::Gravity< mbd_types >::Gravity (  )  [inline]
template<typename mbd_types >
virtual OpenTissue::mbd::Gravity< mbd_types >::~Gravity (  )  [inline, virtual]

Member Function Documentation

template<typename mbd_types >
void OpenTissue::mbd::Gravity< mbd_types >::compute ( body_type const &  body,
vector3_type force,
vector3_type torque 
) [inline]
template<typename mbd_types >
void OpenTissue::mbd::Gravity< mbd_types >::set_acceleration ( vector3_type const &  acceleration  )  [inline]

Member Data Documentation

template<typename mbd_types >
vector3_type OpenTissue::mbd::Gravity< mbd_types >::m_acceleration [protected]

The gravitatial acceleration.


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