#include <SolidTypes.h>

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) |
Definition at line 281 of file SolidTypes.h.
| 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*().
| sofa::defaulttype::SolidTypes< R >::RigidInertia::RigidInertia | ( | Real | m, | |
| const Vec & | h, | |||
| const Mat & | I | |||
| ) | [inline] |
Definition at line 417 of file SolidTypes.inl.
| SolidTypes< R >::RigidInertia sofa::defaulttype::SolidTypes< R >::RigidInertia::operator* | ( | const Transform & | t | ) | const [inline] |
Definition at line 430 of file SolidTypes.inl.
References sofa::defaulttype::SolidTypes< R >::crossM(), sofa::defaulttype::SolidTypes< R >::Transform::getOriginOfParentInChild(), sofa::defaulttype::SolidTypes< R >::Transform::getRotationMatrix(), sofa::defaulttype::SolidTypes< R >::RigidInertia::h, sofa::defaulttype::SolidTypes< R >::RigidInertia::I, sofa::defaulttype::SolidTypes< R >::RigidInertia::m, sofa::defaulttype::SolidTypes< R >::RigidInertia::RigidInertia(), and sofa::defaulttype::Mat< L, C, real >::transposed().
| SolidTypes< R >::SpatialVector sofa::defaulttype::SolidTypes< R >::RigidInertia::operator* | ( | const SpatialVector & | v | ) | const [inline] |
Definition at line 421 of file SolidTypes.inl.
References sofa::defaulttype::cross(), sofa::defaulttype::SolidTypes< R >::SpatialVector::freeVec, sofa::defaulttype::SolidTypes< R >::RigidInertia::h, sofa::defaulttype::SolidTypes< R >::RigidInertia::I, sofa::defaulttype::SolidTypes< R >::SpatialVector::lineVec, sofa::defaulttype::SolidTypes< R >::RigidInertia::m, and sofa::defaulttype::SolidTypes< R >::mult().
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const RigidInertia & | r | |||
| ) | [friend] |
Definition at line 291 of file SolidTypes.h.
| 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=().
| Mat sofa::defaulttype::SolidTypes< R >::RigidInertia::I |
Definition at line 286 of file SolidTypes.h.
Referenced by sofa::defaulttype::SolidTypes< R >::RigidInertia::operator*(), and sofa::defaulttype::SolidTypes< R >::ArticulatedInertia::operator=().
| Real sofa::defaulttype::SolidTypes< R >::RigidInertia::m |
mass
Definition at line 284 of file SolidTypes.h.
Referenced by sofa::defaulttype::SolidTypes< R >::RigidInertia::operator*(), and sofa::defaulttype::SolidTypes< R >::ArticulatedInertia::operator=().
1.5.7.1