Body Class Reference

#include <Body.h>

Inheritance diagram for Body:
Ground Linear Massless Rigid

List of all members.

Classes

class  Ground
class  Linear
class  Massless
class  Rigid

Public Member Functions

 Body ()
 ~Body ()
 Body (const Body &)
Bodyoperator= (const Body &)
 Body (const MassProperties &)
 This is a default conversion from MassProperties to Body.
BodyaddDecoration (const Transform &X_BD, const DecorativeGeometry &)
const MassPropertiesgetDefaultRigidBodyMassProperties () const
BodysetDefaultRigidBodyMassProperties (const MassProperties &)
bool isOwnerHandle () const
bool isEmptyHandle () const
 Body (class BodyRep *r)
bool hasRep () const
const BodyRep & getRep () const
BodyRep & updRep () const
void setRep (BodyRep &r)

Protected Attributes

class BodyRep * rep

Constructor & Destructor Documentation

Body (  )  [inline]
~Body (  ) 
Body ( const Body  ) 
Body ( const MassProperties  ) 

This is a default conversion from MassProperties to Body.

It will result in a rigid body (concrete class Body::Rigid) being created using these MassProperties.

Body ( class BodyRep *  r  )  [inline, explicit]

Member Function Documentation

Body& addDecoration ( const Transform X_BD,
const DecorativeGeometry  
)
const MassProperties& getDefaultRigidBodyMassProperties (  )  const
const BodyRep& getRep (  )  const [inline]
bool hasRep (  )  const [inline]
bool isEmptyHandle (  )  const
bool isOwnerHandle (  )  const
Body& operator= ( const Body  ) 
Body& setDefaultRigidBodyMassProperties ( const MassProperties  ) 
void setRep ( BodyRep &  r  )  [inline]
BodyRep& updRep (  )  const [inline]

Member Data Documentation

class BodyRep* rep [protected]

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

Generated on Wed Dec 30 11:05:13 2009 for SimTKcore by  doxygen 1.6.1