SOFA API  59c939c2
Open source framework for multi-physics simuation
sofa::defaulttype::RigidMass< 3, real > Class Template Reference

#include <RigidTypes.h>

Public Attributes

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

Public Member Functions

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

Friends

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

Attribute details

template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::inertiaMassMatrix
template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::inertiaMatrix
template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::invInertiaMassMatrix
template<typename real >
Mat3x3 sofa::defaulttype::RigidMass< 3, real >::invInertiaMatrix
template<typename real >
Real sofa::defaulttype::RigidMass< 3, real >::mass
template<typename real >
Real sofa::defaulttype::RigidMass< 3, real >::volume

Constructor details

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

Function details

template<typename real >
sofa::defaulttype::RigidMass< 3, real >::operator const Real ( ) const
inline
template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator*= ( Real  fact)
inline
template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator+= ( Real  m)
inline
template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator-= ( Real  m)
inline
template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator/= ( Real  fact)
inline
template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::operator= ( Real  m)
inline
template<typename real >
void sofa::defaulttype::RigidMass< 3, real >::recalc ( )
inline

Related details

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