Simbody  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SimTK::MultibodyGraphMaker::Body Class Reference

Local class that collects information about bodies. More...

Public Member Functions

 Body (const std::string &name, double mass, bool mustBeBaseBody, void *userRef)
 
void forgetGraph (MultibodyGraphMaker &graph)
 
int getNumFragments () const
 
int getNumSlaves () const
 
int getNumJoints () const
 
bool isSlave () const
 
bool isMaster () const
 
bool isInTree () const
 

Public Attributes

std::string name
 
double mass
 
bool mustBeBaseBody
 
void * userRef
 
std::vector< int > jointsAsChild
 
std::vector< int > jointsAsParent
 
int level
 
int mobilizer
 
int master
 
std::vector< int > slaves
 

Detailed Description

Local class that collects information about bodies.

Constructor & Destructor Documentation

SimTK::MultibodyGraphMaker::Body::Body ( const std::string &  name,
double  mass,
bool  mustBeBaseBody,
void *  userRef 
)
inlineexplicit

Member Function Documentation

void SimTK::MultibodyGraphMaker::Body::forgetGraph ( MultibodyGraphMaker graph)
int SimTK::MultibodyGraphMaker::Body::getNumFragments ( ) const
inline
int SimTK::MultibodyGraphMaker::Body::getNumSlaves ( ) const
inline
int SimTK::MultibodyGraphMaker::Body::getNumJoints ( ) const
inline
bool SimTK::MultibodyGraphMaker::Body::isSlave ( ) const
inline
bool SimTK::MultibodyGraphMaker::Body::isMaster ( ) const
inline
bool SimTK::MultibodyGraphMaker::Body::isInTree ( ) const
inline

Member Data Documentation

std::string SimTK::MultibodyGraphMaker::Body::name
double SimTK::MultibodyGraphMaker::Body::mass
bool SimTK::MultibodyGraphMaker::Body::mustBeBaseBody
void* SimTK::MultibodyGraphMaker::Body::userRef
std::vector<int> SimTK::MultibodyGraphMaker::Body::jointsAsChild
std::vector<int> SimTK::MultibodyGraphMaker::Body::jointsAsParent
int SimTK::MultibodyGraphMaker::Body::level
int SimTK::MultibodyGraphMaker::Body::mobilizer
int SimTK::MultibodyGraphMaker::Body::master
std::vector<int> SimTK::MultibodyGraphMaker::Body::slaves

The documentation for this class was generated from the following file: