Simbody
Public Member Functions

SimTK::Body::Linear Class Reference

This is a rigid body in the shape of a line, which is inherently inertialess about its axis. More...

#include <Body.h>

Inheritance diagram for SimTK::Body::Linear:

List of all members.

Public Member Functions

 Linear ()
 Linear (const MassProperties &)
LinearaddDecoration (const Transform &X_BD, const DecorativeGeometry &g)
 Add a piece of decorative geometry fixed at some location on this Body.
LinearsetDefaultRigidBodyMassProperties (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)

Detailed Description

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.


Constructor & Destructor Documentation

SimTK::Body::Linear::Linear ( const MassProperties ) [explicit]

Member Function Documentation

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.

SimTK::Body::Linear::SimTK_PIMPL_DOWNCAST ( Linear  ,
Body   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines