#include <Body.h>
Classes | |
class | Ground |
class | Linear |
class | Massless |
class | Rigid |
Public Member Functions | |
Body () | |
~Body () | |
Body (const Body &) | |
Body & | operator= (const Body &) |
Body (const MassProperties &) | |
This is a default conversion from MassProperties to Body. | |
Body & | addDecoration (const Transform &X_BD, const DecorativeGeometry &) |
const MassProperties & | getDefaultRigidBodyMassProperties () const |
Body & | setDefaultRigidBodyMassProperties (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 |
Body | ( | ) | [inline] |
~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] |
Body& addDecoration | ( | const Transform & | X_BD, | |
const DecorativeGeometry & | ||||
) |
Reimplemented in Rigid, Linear, Ground, and Massless.
Referenced by Linear::addDecoration(), Massless::addDecoration(), Rigid::addDecoration(), and Ground::addDecoration().
const MassProperties& getDefaultRigidBodyMassProperties | ( | ) | const |
const BodyRep& getRep | ( | ) | const [inline] |
bool hasRep | ( | ) | const [inline] |
bool isEmptyHandle | ( | ) | const |
bool isOwnerHandle | ( | ) | const |
Body& setDefaultRigidBodyMassProperties | ( | const MassProperties & | ) |
Reimplemented in Rigid, and Linear.
Referenced by Linear::setDefaultRigidBodyMassProperties(), and Rigid::setDefaultRigidBodyMassProperties().
void setRep | ( | BodyRep & | r | ) | [inline] |
BodyRep& updRep | ( | ) | const [inline] |
class BodyRep* rep [protected] |