sofa::defaulttype::RigidMass< 3, real > Class Template Reference

#include <RigidTypes.h>

Collaboration diagram for sofa::defaulttype::RigidMass< 3, real >:

Collaboration graph
[legend]

Public Types

typedef real value_type
typedef real Real
typedef Mat< 3, 3, Real > Mat3x3

Public Member Functions

 RigidMass (Real m=1)
void operator= (Real m)
 operator const Real () const
void recalc ()
void operator*= (Real fact)

Data Fields

Real mass
Real volume
Mat3x3 inertiaMatrix
Mat3x3 inertiaMassMatrix
Mat3x3 invInertiaMatrix
Mat3x3 invInertiaMassMatrix

Friends

std::ostream & operator<< (std::ostream &out, const RigidMass< 3, real > &m)
std::istream & operator>> (std::istream &in, RigidMass< 3, real > &m)

Detailed Description

template<typename real>
class sofa::defaulttype::RigidMass< 3, real >

Definition at line 434 of file RigidTypes.h.


Member Typedef Documentation

template<typename real >
typedef Mat<3,3,Real> sofa::defaulttype::RigidMass< 3, real >::Mat3x3

Definition at line 439 of file RigidTypes.h.

template<typename real >
typedef real sofa::defaulttype::RigidMass< 3, real >::Real

Definition at line 438 of file RigidTypes.h.

template<typename real >
typedef real sofa::defaulttype::RigidMass< 3, real >::value_type

Definition at line 437 of file RigidTypes.h.


Constructor & Destructor Documentation

template<typename real >
sofa::defaulttype::RigidMass< 3, real >::RigidMass ( Real  m = 1  )  [inline]

Definition at line 445 of file RigidTypes.h.


Member Function Documentation

template<typename real >
sofa::defaulttype::RigidMass< 3, real >::operator const Real (  )  const [inline]

Definition at line 458 of file RigidTypes.h.

template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator*= ( Real  fact  )  [inline]

Definition at line 483 of file RigidTypes.h.

template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator= ( Real  m  )  [inline]

Definition at line 452 of file RigidTypes.h.

template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::recalc (  )  [inline]

Definition at line 462 of file RigidTypes.h.


Friends And Related Function Documentation

template<typename real >
std::ostream& operator<< ( std::ostream &  out,
const RigidMass< 3, real > &  m 
) [friend]

Definition at line 469 of file RigidTypes.h.

template<typename real >
std::istream& operator>> ( std::istream &  in,
RigidMass< 3, real > &  m 
) [friend]

Definition at line 476 of file RigidTypes.h.


Field Documentation

template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::inertiaMassMatrix

Definition at line 442 of file RigidTypes.h.

template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::inertiaMatrix

Definition at line 441 of file RigidTypes.h.

template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::invInertiaMassMatrix

Definition at line 444 of file RigidTypes.h.

template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::invInertiaMatrix

Definition at line 443 of file RigidTypes.h.

template<typename real >
Real sofa::defaulttype::RigidMass< 3, real >::mass

Definition at line 440 of file RigidTypes.h.

template<typename real >
Real sofa::defaulttype::RigidMass< 3, real >::volume

Definition at line 440 of file RigidTypes.h.


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

Generated on Sun Nov 23 04:23:53 2008 for Sofa by  doxygen 1.5.7.1