#include <Body.h>
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 |
Classes | |
class | Ground |
class | Linear |
class | Massless |
class | Rigid |
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 Body::Rigid, Body::Linear, Body::Ground, and Body::Massless.
Referenced by Body::Massless::addDecoration(), Body::Ground::addDecoration(), Body::Linear::addDecoration(), and Body::Rigid::addDecoration().
const MassProperties& getDefaultRigidBodyMassProperties | ( | ) | const |
Body& setDefaultRigidBodyMassProperties | ( | const MassProperties & | ) |
Reimplemented in Body::Rigid, and Body::Linear.
Referenced by Body::Linear::setDefaultRigidBodyMassProperties(), and Body::Rigid::setDefaultRigidBodyMassProperties().
bool isOwnerHandle | ( | ) | const |
bool isEmptyHandle | ( | ) | const |
bool hasRep | ( | ) | const [inline] |
const BodyRep& getRep | ( | ) | const [inline] |
BodyRep& updRep | ( | ) | const [inline] |
void setRep | ( | BodyRep & | r | ) | [inline] |
class BodyRep* rep [protected] |