Simbody
|
This is a rigid body in the shape of a line, which is inherently inertialess about its axis. More...
#include <Body.h>
Public Member Functions | |
Linear () | |
Linear (const MassProperties &) | |
Linear & | addDecoration (const Transform &X_BD, const DecorativeGeometry &g) |
Add a piece of decorative geometry fixed at some location on this Body. | |
Linear & | setDefaultRigidBodyMassProperties (const MassProperties &m) |
Every type of Body should provide an initial set of rigid body mass properties defined at Topology stage (i.e., in the System rather than the State). | |
SimTK_PIMPL_DOWNCAST (Linear, Body) |
This is a rigid body in the shape of a line, which is inherently inertialess about its axis.
Its mass properties may be modified later, but only in such a way that the Body remains inertialess about one axis.
SimTK::Body::Linear::Linear | ( | const MassProperties & | ) | [explicit] |
Linear& SimTK::Body::Linear::addDecoration | ( | const Transform & | X_BD, |
const DecorativeGeometry & | |||
) | [inline] |
Add a piece of decorative geometry fixed at some location on this Body.
This can be used for visualization of the Body's motion. Returns a reference to the Body so these can be chained like assignment operators.
Reimplemented from SimTK::Body.
Linear& SimTK::Body::Linear::setDefaultRigidBodyMassProperties | ( | const MassProperties & | ) | [inline] |
Every type of Body should provide an initial set of rigid body mass properties defined at Topology stage (i.e., in the System rather than the State).
This is thus a Topology-stage change which will require a new realizeTopology() before use.
Reimplemented from SimTK::Body.