ygCAVETracker derived from ygTransform Example Source Header

Description: creates a tracked simple transform from a CAVE sensor

Category: User
Author: Dave Pape
02/01/06 Alex Hill - added sensor number and logic
Revision: 07/01/06 Alex Hill - fixed bug with initializing ygUser sensor number

sensor [integer] set the sensor number

constructor ygCAVETracker

method reset

1 set sensor number to 0

method message

1 set the sensor number

method app

1 get the CAVE sensor position
2 get the CAVE sensor orientation
3 set the position and orientation of the transform

method setSensor

1 find first user above this node
2 if found add this sensor to the sensor list of the user