CAVEEyes derived from ygNode Example Source Header

Description: a node that allows drawing to one or both eyes

notes:
Category: Attributes
Author: Alex Hill
Revision: 04/18/05

    Messages
eyes [left | right | both] eye mode to allow rendering
    Events
changed interocular generate changed event with interocular distance
    Comments

constructor CAVEEyes

1 allocate shared memory eyeData structure for pre and post callbacks
2 distribute the name of the node affected

destructor ~CAVEEyes

method reset

1 generate changed event with interocular distance

method message

1 eye mode to allow rendering

method eyePreCull

1 cast the traversal data as the eyeData structure
2 if the plane is active then