Simbody
3.6
|
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 |
Local class that collects information about bodies.
|
inlineexplicit |
void SimTK::MultibodyGraphMaker::Body::forgetGraph | ( | MultibodyGraphMaker & | graph | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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 |