Simbody  3.6
SimTK::MultibodyGraphMaker::LoopConstraint Class Reference

Local class that represents one of the constraints that were added to close topological loops that were cut to form the spanning tree. More...

Public Member Functions

 LoopConstraint ()
 
 LoopConstraint (const std::string &type, int jointNum, int parentBodyNum, int childBodyNum, MultibodyGraphMaker *graphMaker)
 
void * getJointRef () const
 Get the user reference pointer for the joint associated with this loop constraint. More...
 
const std::string & getJointTypeName () const
 Get the loop constraint type name of the constraint that should be used here. More...
 
void * getParentBodyRef () const
 Get the user reference pointer for the parent body defined by the joint associated with this loop constraint. More...
 
void * getChildBodyRef () const
 Get the user reference pointer for the child body defined by the joint associated with this loop constraint. More...
 

Friends

class MultibodyGraphMaker
 

Detailed Description

Local class that represents one of the constraints that were added to close topological loops that were cut to form the spanning tree.

Constructor & Destructor Documentation

◆ LoopConstraint() [1/2]

SimTK::MultibodyGraphMaker::LoopConstraint::LoopConstraint ( )
inline

◆ LoopConstraint() [2/2]

SimTK::MultibodyGraphMaker::LoopConstraint::LoopConstraint ( const std::string &  type,
int  jointNum,
int  parentBodyNum,
int  childBodyNum,
MultibodyGraphMaker graphMaker 
)
inline

Member Function Documentation

◆ getJointRef()

void* SimTK::MultibodyGraphMaker::LoopConstraint::getJointRef ( ) const
inline

Get the user reference pointer for the joint associated with this loop constraint.

◆ getJointTypeName()

const std::string& SimTK::MultibodyGraphMaker::LoopConstraint::getJointTypeName ( ) const
inline

Get the loop constraint type name of the constraint that should be used here.

◆ getParentBodyRef()

void* SimTK::MultibodyGraphMaker::LoopConstraint::getParentBodyRef ( ) const
inline

Get the user reference pointer for the parent body defined by the joint associated with this loop constraint.

◆ getChildBodyRef()

void* SimTK::MultibodyGraphMaker::LoopConstraint::getChildBodyRef ( ) const
inline

Get the user reference pointer for the child body defined by the joint associated with this loop constraint.

Friends And Related Function Documentation

◆ MultibodyGraphMaker

friend class MultibodyGraphMaker
friend

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