Biomechanical Joint Model
 Author: Anderson Maciel

COME_Joint Class Reference

#include <comejoint.h>

Inherited by COME_BiaxialJoint, COME_PlaneJoint, COME_PolyaxialJoint, COME_TriaxialJoint, and COME_UniaxialJoint.

Inheritance diagram for COME_Joint:

Inheritance graph
[legend]
Collaboration diagram for COME_Joint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 COME_Joint ()
 COME_Joint (COME_Joint *)
 COME_Joint (COME_Vector3D *)
unsigned short int getNumDofs (void)
void setChanged (bool yesno)
bool vpIsChanged (void)
void setDescription (char *)
void setDescription (string)
string getDescription ()
COME_Vector3D getVectorX (void)
COME_Vector3D getVectorY (void)
COME_Vector3D getVectorZ (void)
COME_JointgetParent (void)
list< COME_Joint * > getChildList (void)
list< COME_Joint * > * getChildListPt (void)
list< COME_BioStructure * > getShapeList (void)
list< COME_BioStructure * > * getShapeListPt (void)
COME_Dof ** getDofList (void)
COME_Matrix getLim (void)
COME_Matrix getInvLim (void)
void setNumDofs (unsigned short int)
void setParent (COME_Joint *)
void setChildList (list< COME_Joint * >)
void setLim (COME_Matrix)
void vpRefreshInvLim (void)
void vpAddShape (COME_BioStructure *shape)
void vpAddChild (COME_Joint *child)
void vpAddDof (COME_Dof *dof)
void vpMakeLim (void)
void vpPrintLim (void)
void vpMakeGims (COME_Matrix composite)

Protected Member Functions

void setInvLim (COME_Matrix)

Private Attributes

string description
unsigned short int numDofs
bool changed
COME_Matrix lim
COME_Matrix invLim
COME_JointparentJoint
list< COME_BioStructure * > shapeList
list< COME_Joint * > childList
COME_Dof ** dofList

Detailed Description

Definition at line 63 of file comejoint.h.


Constructor & Destructor Documentation

COME_Joint::COME_Joint  ) 
 

Definition at line 27 of file comejoint.cpp.

References dofList, MAXDOF, numDofs, parentJoint, and vpRefreshInvLim().

Here is the call graph for this function:

COME_Joint::COME_Joint COME_Joint  ) 
 

COME_Joint::COME_Joint COME_Vector3D  ) 
 


Member Function Documentation

list< COME_Joint * > COME_Joint::getChildList void   ) 
 

Definition at line 108 of file comejoint.cpp.

References childList.

list< COME_Joint * > * COME_Joint::getChildListPt void   ) 
 

Definition at line 114 of file comejoint.cpp.

References childList.

Referenced by COME_Xml::saveJointsAnimation(), and COME_Patient::searchJoint().

string COME_Joint::getDescription  ) 
 

Definition at line 54 of file comejoint.cpp.

References description.

Referenced by COME_Scenario::saveJointIntoFile(), COME_Xml::saveJointsAnimation(), and COME_Patient::searchJoint().

COME_Dof ** COME_Joint::getDofList void   ) 
 

Definition at line 132 of file comejoint.cpp.

References dofList.

Referenced by COME_PolyaxialJoint::getCurrentAngles(), COME_PolyaxialJoint::setAdductionTo(), COME_BiaxialJoint::setAductionTo(), COME_UniaxialJoint::setFlexionTo(), COME_TriaxialJoint::setFlexionTo(), COME_PolyaxialJoint::setFlexionTo(), COME_BiaxialJoint::setFlexionTo(), COME_PolyaxialJoint::setTwistTo(), COME_PlaneJoint::setXSlideTo(), COME_PlaneJoint::setYSlideTo(), and COME_PlaneJoint::setZSlideTo().

COME_Matrix COME_Joint::getInvLim void   ) 
 

Definition at line 144 of file comejoint.cpp.

References invLim.

COME_Matrix COME_Joint::getLim void   ) 
 

Definition at line 138 of file comejoint.cpp.

References lim.

Referenced by vpMakeGims(), vpMakeLim(), vpPrintLim(), and vpRefreshInvLim().

unsigned short int COME_Joint::getNumDofs void   ) 
 

Definition at line 59 of file comejoint.cpp.

References numDofs.

Referenced by vpMakeLim().

COME_Joint * COME_Joint::getParent void   ) 
 

Definition at line 102 of file comejoint.cpp.

References parentJoint.

list< COME_BioStructure * > COME_Joint::getShapeList void   ) 
 

Definition at line 120 of file comejoint.cpp.

References shapeList.

list< COME_BioStructure * > * COME_Joint::getShapeListPt void   ) 
 

Definition at line 126 of file comejoint.cpp.

References shapeList.

Referenced by COME_Xml::saveJointOrgans().

COME_Vector3D COME_Joint::getVectorX void   ) 
 

Definition at line 75 of file comejoint.cpp.

References COME_Matrix::getValueAt(), and lim.

Here is the call graph for this function:

COME_Vector3D COME_Joint::getVectorY void   ) 
 

Definition at line 84 of file comejoint.cpp.

References COME_Matrix::getValueAt(), and lim.

Here is the call graph for this function:

COME_Vector3D COME_Joint::getVectorZ void   ) 
 

Definition at line 93 of file comejoint.cpp.

References COME_Matrix::getValueAt(), and lim.

Here is the call graph for this function:

void COME_Joint::setChanged bool  yesno  ) 
 

Definition at line 64 of file comejoint.cpp.

References changed.

void COME_Joint::setChildList list< COME_Joint * >   ) 
 

Definition at line 162 of file comejoint.cpp.

References childList.

void COME_Joint::setDescription string   ) 
 

Definition at line 49 of file comejoint.cpp.

References description.

void COME_Joint::setDescription char *   ) 
 

Definition at line 44 of file comejoint.cpp.

References description.

Referenced by COME_Xml::loadJoint().

void COME_Joint::setInvLim COME_Matrix   )  [protected]
 

Definition at line 174 of file comejoint.cpp.

References invLim.

Referenced by vpRefreshInvLim().

void COME_Joint::setLim COME_Matrix   ) 
 

Definition at line 168 of file comejoint.cpp.

References lim.

void COME_Joint::setNumDofs unsigned short  int  ) 
 

Definition at line 150 of file comejoint.cpp.

References numDofs.

void COME_Joint::setParent COME_Joint  ) 
 

Definition at line 156 of file comejoint.cpp.

References parentJoint.

Referenced by COME_BiaxialJoint::COME_BiaxialJoint(), COME_PlaneJoint::COME_PlaneJoint(), COME_PolyaxialJoint::COME_PolyaxialJoint(), COME_TriaxialJoint::COME_TriaxialJoint(), and COME_UniaxialJoint::COME_UniaxialJoint().

void COME_Joint::vpAddChild COME_Joint child  ) 
 

Definition at line 194 of file comejoint.cpp.

References childList.

void COME_Joint::vpAddDof COME_Dof dof  ) 
 

Definition at line 201 of file comejoint.cpp.

References dofList, and numDofs.

Referenced by COME_BiaxialJoint::COME_BiaxialJoint(), COME_PlaneJoint::COME_PlaneJoint(), COME_PolyaxialJoint::COME_PolyaxialJoint(), COME_TriaxialJoint::COME_TriaxialJoint(), and COME_UniaxialJoint::COME_UniaxialJoint().

void COME_Joint::vpAddShape COME_BioStructure shape  ) 
 

Definition at line 188 of file comejoint.cpp.

References shapeList.

Referenced by COME_Xml::loadJoint().

bool COME_Joint::vpIsChanged void   ) 
 

Definition at line 69 of file comejoint.cpp.

References changed.

void COME_Joint::vpMakeGims COME_Matrix  composite  ) 
 

Make up the new composite matrix

Make Gim for every shape of the joint

Make Gim for every children

Definition at line 231 of file comejoint.cpp.

References getLim(), and shapeList.

Here is the call graph for this function:

void COME_Joint::vpMakeLim void   ) 
 

build translation to position matrix

Remake joint's Lim compounding the dof's Lims

Definition at line 213 of file comejoint.cpp.

References dofList, getLim(), and getNumDofs().

Referenced by COME_BiaxialJoint::COME_BiaxialJoint(), COME_PlaneJoint::COME_PlaneJoint(), COME_PolyaxialJoint::COME_PolyaxialJoint(), COME_TriaxialJoint::COME_TriaxialJoint(), COME_UniaxialJoint::COME_UniaxialJoint(), COME_PolyaxialJoint::setAdductionTo(), COME_BiaxialJoint::setAductionTo(), COME_UniaxialJoint::setFlexionTo(), COME_TriaxialJoint::setFlexionTo(), COME_PolyaxialJoint::setFlexionTo(), COME_BiaxialJoint::setFlexionTo(), COME_PolyaxialJoint::setTwistTo(), COME_PlaneJoint::setXSlideTo(), COME_PlaneJoint::setYSlideTo(), and COME_PlaneJoint::setZSlideTo().

Here is the call graph for this function:

void COME_Joint::vpPrintLim void   ) 
 

Definition at line 251 of file comejoint.cpp.

References getLim().

Here is the call graph for this function:

void COME_Joint::vpRefreshInvLim void   ) 
 

Definition at line 181 of file comejoint.cpp.

References getLim(), and setInvLim().

Referenced by COME_Joint().

Here is the call graph for this function:


Member Data Documentation

bool COME_Joint::changed [private]
 

Definition at line 68 of file comejoint.h.

Referenced by setChanged(), and vpIsChanged().

list<COME_Joint*> COME_Joint::childList [private]
 

Definition at line 73 of file comejoint.h.

Referenced by getChildList(), getChildListPt(), setChildList(), and vpAddChild().

string COME_Joint::description [private]
 

Definition at line 66 of file comejoint.h.

Referenced by getDescription(), and setDescription().

COME_Dof** COME_Joint::dofList [private]
 

Definition at line 74 of file comejoint.h.

Referenced by COME_Joint(), getDofList(), vpAddDof(), and vpMakeLim().

COME_Matrix COME_Joint::invLim [private]
 

Definition at line 70 of file comejoint.h.

Referenced by getInvLim(), and setInvLim().

COME_Matrix COME_Joint::lim [private]
 

Definition at line 69 of file comejoint.h.

Referenced by getLim(), getVectorX(), getVectorY(), getVectorZ(), and setLim().

unsigned short int COME_Joint::numDofs [private]
 

Definition at line 67 of file comejoint.h.

Referenced by COME_Joint(), getNumDofs(), setNumDofs(), and vpAddDof().

COME_Joint* COME_Joint::parentJoint [private]
 

Definition at line 71 of file comejoint.h.

Referenced by COME_Joint(), getParent(), and setParent().

list<COME_BioStructure*> COME_Joint::shapeList [private]
 

Definition at line 72 of file comejoint.h.

Referenced by getShapeList(), getShapeListPt(), vpAddShape(), and vpMakeGims().


The documentation for this class was generated from the following files:
Generated on Thu Dec 1 10:14:21 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5