FBDeviceGlove Class Reference

#include <fbcore.h>
FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove FBDeviceGlove
Inheritance diagram for FBDeviceGlove:
Inheritance graph
[legend]

List of all members.


Detailed Description

Base Glove class.

Definition at line 839 of file fbcore.h.


Public Types

enum   kHandModelPart {
   kPartRoot,
   kPartPalm,
   kPartThumbA,
   kPartThumbB,
   kPartThumbC,
   kPartThumbD,
   kPartIndexA,
   kPartIndexB,
   kPartIndexC,
   kPartIndexD,
   kPartMiddleA,
   kPartMiddleB,
   kPartMiddleC,
   kPartMiddleD,
   kPartRingA,
   kPartRingB,
   kPartRingC,
   kPartRingD,
   kPartLittleA,
   kPartLittleB,
   kPartLittleC,
   kPartLittleD,
   kPartMax
}
  Hand model parts. More...

Public Member Functions

  FBDeviceGlove (char *pName, HIObject pObject=NULL)
  Constructor.
virtual void  RecordingInitAnimation (HFBAnimationNode pAnimationNode)
  When recording, initialize animation.
virtual void  RecordingDoneAnimation (HFBAnimationNode pAnimationNode)
  When recording, finish animation.

Public Attributes

FBArrayTemplate
< GloveChannel * > 
Channels
  Glove channels.
FBPropertyBool  LeftHand
  Read Write Property: Left or right hand glove.

Protected Member Functions

void  InitializeModelGeometry ()
  Initialize the hand model geometry.
void  VectorToModelPartAngle (kHandModelPart pPartIndex, FBVector3d &pVector)
  Bring the vector in parameter to a valid angle range of rotation for a given part of the hand model.
HFBAnimationNode  GetModelRotationNode (kHandModelPart pPartIndex)
  Obtain the rotation animation node of a part of the hand model.

Classes

class   GloveChannel
  Base GloveChannel. More...

Member Enumeration Documentation

enum kHandModelPart

Hand model parts.

Enumerator:
kPartRoot 
kPartPalm 
kPartThumbA 
kPartThumbB 
kPartThumbC 
kPartThumbD 
kPartIndexA 
kPartIndexB 
kPartIndexC 
kPartIndexD 
kPartMiddleA 
kPartMiddleB 
kPartMiddleC 
kPartMiddleD 
kPartRingA 
kPartRingB 
kPartRingC 
kPartRingD 
kPartLittleA 
kPartLittleB 
kPartLittleC 
kPartLittleD 
kPartMax 

Definition at line 844 of file fbcore.h.


Constructor & Destructor Documentation

FBDeviceGlove ( char *  pName,
HIObject  pObject = NULL  
)

Constructor.

Parameters:
pName  Name of device.
pObject  For internal use only (default is NULL).

Member Function Documentation

virtual void RecordingInitAnimation ( HFBAnimationNode  pAnimationNode  )  [virtual]

When recording, initialize animation.

Parameters:
pAnimationNode  Animation node to read information from.

Reimplemented from FBDevice.

virtual void RecordingDoneAnimation ( HFBAnimationNode  pAnimationNode  )  [virtual]

When recording, finish animation.

Parameters:
pAnimationNode  Animation node to write information to.

Reimplemented from FBDevice.

void InitializeModelGeometry (  )  [protected]

Initialize the hand model geometry.

You should set the LeftHand property prior to using this method, so that the geometry gets initialized correctly. Also call this function if you changed the value of LeftHand property.

void VectorToModelPartAngle ( kHandModelPart  pPartIndex,
FBVector3d pVector  
) [protected]

Bring the vector in parameter to a valid angle range of rotation for a given part of the hand model.

The input vector should have relative values between 0.0 (min) and 1.0 (max). The output vector is an euler local rotation vector with limits applied. This vector can then be used to constraint the rotation of the hand part model.

Parameters:
pPartIndex  The hand part.
pVector  The vector to modify.

HFBAnimationNode GetModelRotationNode ( kHandModelPart  pPartIndex  )  [protected]

Obtain the rotation animation node of a part of the hand model.

Parameters:
pPartIndex  The hand part.
Returns:
The animation node of the given hand part.

Member Data Documentation

FBArrayTemplate<GloveChannel*> Channels

Glove channels.

Definition at line 956 of file fbcore.h.

FBPropertyBool LeftHand

Read Write Property: Left or right hand glove.

Definition at line 958 of file fbcore.h.


Please send us your comments about this page.