Simbody
Public Member Functions

SimTK::MobilizedBody::Ground Class Reference

This is a special type of "mobilized" body used as a placeholder for Ground in the 0th slot for a MatterSubsystem's mobilized bodies. More...

#include <MobilizedBody.h>

Inheritance diagram for SimTK::MobilizedBody::Ground:

List of all members.

Public Member Functions

 Ground ()
 There is no "reverse" Ground.
GroundaddBodyDecoration (const Transform &X_BD, const DecorativeGeometry &g)
 Add decorative geometry specified relative to the new (outboard) body's reference frame B, or to the outboard mobilizer frame M attached to body B, or to the inboard mobilizer frame F attached to the parent body P.
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (Ground, GroundImpl, MobilizedBody)

Detailed Description

This is a special type of "mobilized" body used as a placeholder for Ground in the 0th slot for a MatterSubsystem's mobilized bodies.

The body type will also be Ground.


Constructor & Destructor Documentation

There is no "reverse" Ground.


Member Function Documentation

Ground& SimTK::MobilizedBody::Ground::addBodyDecoration ( const Transform X_BD,
const DecorativeGeometry g 
) [inline]

Add decorative geometry specified relative to the new (outboard) body's reference frame B, or to the outboard mobilizer frame M attached to body B, or to the inboard mobilizer frame F attached to the parent body P.

Note that the body itself may already have had some decorative geometry on it when it was first put into this MobilizedBody; in that case this just adds more.

Reimplemented from SimTK::MobilizedBody.

SimTK::MobilizedBody::Ground::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( Ground  ,
GroundImpl  ,
MobilizedBody   
)

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