Public Member Functions | |
MassProperties () | |
MassProperties (const MassProperties &mp) | |
MassProperties (const gfx::TriangleContainer &triangles, ref< const Material > material) | |
virtual | ~MassProperties () |
virtual String | className () const |
const Matrix3 & | Ibody () const |
const Matrix3 & | IbodyInv () 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 |
|
|
|
Definition at line 44 of file MassProperties. References _Ibody, _IbodyInv, centerOfMass, and mass. |
|
|
|
Definition at line 48 of file MassProperties. |
|
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. |
|
|
|
|
|
|
|
|
|
Definition at line 52 of file MassProperties. References _Ibody. Referenced by physics::operator<<(). |
|
Definition at line 53 of file MassProperties. References _IbodyInv. |
|
|
|
|
|
Definition at line 61 of file MassProperties. Referenced by Ibody(), and MassProperties(). |
|
Definition at line 62 of file MassProperties. Referenced by IbodyInv(), and MassProperties(). |
|
Definition at line 58 of file MassProperties. Referenced by MassProperties(), and physics::operator<<(). |
|
Definition at line 57 of file MassProperties. Referenced by MassProperties(), and physics::operator<<(). |