Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physics::MassProperties Class Reference

Inheritance diagram for physics::MassProperties:

Inheritance graph
[legend]
Collaboration diagram for physics::MassProperties:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MassProperties ()
 MassProperties (const MassProperties &mp)
 MassProperties (const gfx::TriangleContainer &triangles, ref< const Material > material)
virtual ~MassProperties ()
virtual String className () const
const Matrix3Ibody () const
const Matrix3IbodyInv () const
void setIbody (const Matrix3 &Ibody)
virtual bool isSameKindAs (const Object &) const

Public Attributes

Real mass
base::Point3 centerOfMass

Protected Member Functions

void computeMassProperties (const gfx::TriangleContainer &triangles, ref< const Material > material)
void compVolumeIntegrals (const gfx::TriangleContainer &triangles, VolData &v)
void compFaceIntegrals (const WTriangle &t, VolData &v)
void compProjectionIntegrals (const WTriangle &t, VolData &v)

Protected Attributes

base::Matrix3 _Ibody
base::Matrix3 _IbodyInv

Constructor & Destructor Documentation

physics::MassProperties::MassProperties  ) 
 

physics::MassProperties::MassProperties const MassProperties mp  )  [inline]
 

Definition at line 44 of file MassProperties.

References _Ibody, _IbodyInv, centerOfMass, and mass.

physics::MassProperties::MassProperties const gfx::TriangleContainer triangles,
ref< const Material material
 

virtual physics::MassProperties::~MassProperties  )  [inline, virtual]
 

Definition at line 48 of file MassProperties.


Member Function Documentation

virtual String physics::MassProperties::className  )  const [inline, virtual]
 

return the name of the object's class type. Must be defined by derived classes.

Implements base::Object.

Definition at line 50 of file MassProperties.

void physics::MassProperties::compFaceIntegrals const WTriangle &  t,
VolData &  v
[protected]
 

void physics::MassProperties::compProjectionIntegrals const WTriangle &  t,
VolData &  v
[protected]
 

void physics::MassProperties::computeMassProperties const gfx::TriangleContainer triangles,
ref< const Material material
[protected]
 

void physics::MassProperties::compVolumeIntegrals const gfx::TriangleContainer triangles,
VolData &  v
[protected]
 

const Matrix3& physics::MassProperties::Ibody  )  const [inline]
 

Definition at line 52 of file MassProperties.

References _Ibody.

Referenced by physics::operator<<().

const Matrix3& physics::MassProperties::IbodyInv  )  const [inline]
 

Definition at line 53 of file MassProperties.

References _IbodyInv.

virtual bool base::Object::isSameKindAs const Object  )  const [inline, virtual, inherited]
 

Definition at line 47 of file Object.

void physics::MassProperties::setIbody const Matrix3 Ibody  ) 
 


Member Data Documentation

base::Matrix3 physics::MassProperties::_Ibody [protected]
 

Definition at line 61 of file MassProperties.

Referenced by Ibody(), and MassProperties().

base::Matrix3 physics::MassProperties::_IbodyInv [protected]
 

Definition at line 62 of file MassProperties.

Referenced by IbodyInv(), and MassProperties().

base::Point3 physics::MassProperties::centerOfMass
 

Definition at line 58 of file MassProperties.

Referenced by MassProperties(), and physics::operator<<().

Real physics::MassProperties::mass
 

Definition at line 57 of file MassProperties.

Referenced by MassProperties(), and physics::operator<<().


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:40:41 2004 for OpenSim by doxygen 1.3.6