| VRAC | Documentation |
VR Juggler Release 1.0 |
Input/vjGlove
class
vjGloveData
class vjGloveData
This is the data stored about a glove
Desc: The angles are the joint angles for all fingers and the wrist DIJ = Distal Interphalangeal Joint finger tip PIJ = Proximal " " Middle joint MPJ = Metacarpo " " closest to hand ABDUCT = spread of fingers YAW and PITCH apply only to WRIST xforms transfer you from one coord system to the other if the xforms are tied together, then they can return complete transformations NOTE: More docs needed here
| Member Variable Summary | |
|---|---|
| public |
enum { NUM_JOINTS = 4, NUM_COMPONENTS = 6 } |
| public |
enum vjGloveJoint { MPJ = 0, PIJ = 1, DIJ = 2, ABDUCT = 3, YAW = 0, PITCH = 1} |
| public |
enum vjGloveComponent { THUMB = 0, INDEX = 1, MIDDLE = 2, RING = 3, PINKY = 4, WRIST = 5} |
| public float |
angles[NUM_COMPONENTS][NUM_JOINTS] |
| public vjMatrix |
xforms[NUM_COMPONENTS][(NUM_JOINTS-1)] These are the xforms from TO the coord system of the given joint |
| public vjVec3 |
dims[NUM_COMPONENTS][NUM_JOINTS] |
| Constructor Summary |
|---|
|
vjGloveData()
Constructor |
|
vjGloveData(const vjGloveData &data)
Copy Constructor |
| Method Summary | |
|---|---|
| public int |
calcXforms()
From the given angle data, calculate the xforms |
| public std::ostream& |
outputAngles(std::ostream& out)
const
Output the angles |
| public std::istream& |
inputAngles(std::istream& in)
|
| Constructor Detail |
|---|
| vjGloveData | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
|||||||||
| vjGloveData | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
|||||||||
| Method Detail |
|---|
| calcXforms | |||||||
|---|---|---|---|---|---|---|---|
|
|||||||
| outputAngles | ||||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
| inputAngles | ||||
|---|---|---|---|---|
|
||||
Page generated: Jun 12