#include <JointData.h>
Public Types | |
enum | JointID { headTilt210, neckTilt = headTilt210, headPan210, headPan = headPan210, headRoll210, headTilt = headRoll210, mouth, earL, earR, legFR1, legFR2, legFR3, legFL1, legFL2, legFL3, legHR1, legHR2, legHR3, legHL1, legHL2, legHL3, tailPan, tailTilt, numOfJoint } |
enum describing indexes of joints More... | |
Public Member Functions | |
JointData (long headTiltValue=jointDataInvalidValue, long headPanValue=jointDataInvalidValue, long headRollValue=jointDataInvalidValue, long mouthValue=jointDataInvalidValue, long earLValue=jointDataInvalidValue, long earRValue=jointDataInvalidValue, long legFR1Value=jointDataInvalidValue, long legFR2Value=jointDataInvalidValue, long legFR3Value=jointDataInvalidValue, long legFL1Value=jointDataInvalidValue, long legFL2Value=jointDataInvalidValue, long legFL3Value=jointDataInvalidValue, long legHR1Value=jointDataInvalidValue, long legHR2Value=jointDataInvalidValue, long legHR3Value=jointDataInvalidValue, long legHL1Value=jointDataInvalidValue, long legHL2Value=jointDataInvalidValue, long legHL3Value=jointDataInvalidValue, long tailPanValue=jointDataInvalidValue, long tailTiltValue=jointDataInvalidValue) | |
Default constructor. | |
JointData & | operator= (const JointData &other) |
Assignment operator. | |
JointData (const JointData &other) | |
Copy constructor. | |
Static Public Member Functions | |
const char * | getJointName (JointID joint) |
returns the name of a joint | |
JointID | getIDFromName (const char *jointName) |
Public Attributes | |
long | data [numOfJoint] |
The joint data values. |
Containing values for all used joints.
Definition at line 23 of file JointData.h.
|
enum describing indexes of joints
Definition at line 29 of file JointData.h. Referenced by getIDFromName(). |
|
Default constructor.
Definition at line 13 of file JointData.cpp. References earL, earR, headPan, headTilt, legFL1, legFL2, legFL3, legFR1, legFR2, legFR3, legHL1, legHL2, legHL3, legHR1, legHR2, legHR3, neckTilt, tailPan, and tailTilt. |
|
Copy constructor.
Definition at line 65 of file JointData.cpp. |
|
Assignment operator.
Definition at line 58 of file JointData.cpp. References data, and numOfJoint. |
|
returns the name of a joint
Definition at line 79 of file JointData.h. References earL, earR, headPan210, headRoll210, headTilt210, legFL1, legFL2, legFL3, legFR1, legFR2, legFR3, legHL1, legHL2, legHL3, legHR1, legHR2, legHR3, tailPan, and tailTilt. Referenced by getIDFromName(). |
|
Definition at line 70 of file JointData.cpp. References getJointName(), headTilt, JointID, neckTilt, and numOfJoint. |
Here is the call graph for this function:
|