Body Class Reference

#include <Body.h>

Inheritance diagram for Body:

Body::Ground Body::Linear Body::Massless Body::Rigid

List of all members.

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

Classes

class  Ground
class  Linear
class  Massless
class  Rigid


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& operator= ( const Body  ) 

Body& addDecoration ( const Transform X_BD,
const DecorativeGeometry  
)

const MassProperties& getDefaultRigidBodyMassProperties (  )  const

Body& setDefaultRigidBodyMassProperties ( const MassProperties  ) 

bool isOwnerHandle (  )  const

bool isEmptyHandle (  )  const

bool hasRep (  )  const [inline]

const BodyRep& getRep (  )  const [inline]

BodyRep& updRep (  )  const [inline]

void setRep ( BodyRep &  r  )  [inline]


Member Data Documentation

class BodyRep* rep [protected]


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

Generated on Fri Sep 26 07:44:31 2008 for SimTKcore by  doxygen 1.5.6