sofa::defaulttype::SolidTypes< R >::RigidInertia Class Reference

#include <SolidTypes.h>

Collaboration diagram for sofa::defaulttype::SolidTypes< R >::RigidInertia:

Collaboration graph
[legend]

Public Member Functions

 RigidInertia ()
 Inertia matrix around the mass center.
 RigidInertia (Real m, const Vec &h, const Mat &I)
SpatialVector operator* (const SpatialVector &v) const
RigidInertia operator* (const Transform &t) const

Data Fields

Real m
 mass
Vec h
 position of the mass center in the local reference frame
Mat I

Friends

std::ostream & operator<< (std::ostream &out, const RigidInertia &r)

Detailed Description

template<class R = float>
class sofa::defaulttype::SolidTypes< R >::RigidInertia

Definition at line 281 of file SolidTypes.h.


Constructor & Destructor Documentation

template<class R >
sofa::defaulttype::SolidTypes< R >::RigidInertia::RigidInertia (  )  [inline]

Inertia matrix around the mass center.

Definition at line 413 of file SolidTypes.inl.

Referenced by sofa::defaulttype::SolidTypes< R >::RigidInertia::operator*().

template<class R >
sofa::defaulttype::SolidTypes< R >::RigidInertia::RigidInertia ( Real  m,
const Vec &  h,
const Mat &  I 
) [inline]

Definition at line 417 of file SolidTypes.inl.


Member Function Documentation

template<class R >
SolidTypes< R >::RigidInertia sofa::defaulttype::SolidTypes< R >::RigidInertia::operator* ( const Transform &  t  )  const [inline]

template<class R >
SolidTypes< R >::SpatialVector sofa::defaulttype::SolidTypes< R >::RigidInertia::operator* ( const SpatialVector &  v  )  const [inline]


Friends And Related Function Documentation

template<class R = float>
std::ostream& operator<< ( std::ostream &  out,
const RigidInertia &  r 
) [friend]

Definition at line 291 of file SolidTypes.h.


Field Documentation

template<class R = float>
Vec sofa::defaulttype::SolidTypes< R >::RigidInertia::h

position of the mass center in the local reference frame

Definition at line 285 of file SolidTypes.h.

Referenced by sofa::defaulttype::SolidTypes< R >::RigidInertia::operator*(), and sofa::defaulttype::SolidTypes< R >::ArticulatedInertia::operator=().

template<class R = float>
Mat sofa::defaulttype::SolidTypes< R >::RigidInertia::I

template<class R = float>
Real sofa::defaulttype::SolidTypes< R >::RigidInertia::m


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

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