Vizard 8 » Command Index » Vizard modules » vizcave » <vizcave:Cave>.update
8.0

<vizcave:Cave>.update

Update the projection frustum

<vizcave:Cave>.update(  
pos = None  
ori = None  
leftPos = None  
rightPos = None  
)  
pos = None
Head position. Must be specified if NOT using stereo.
ori = None
Head orientation in quaternions. Will be combined with head position for stereo.
leftPos = None
Left eye position. Will be combined with right eye position for stereo tracking.
rightPos = None
Right eye position. Will be combined with left eye position for stereo tracking.

Remarks

This command will update the projection frustum of the cave with the specified eye position values. This command does not need to be called if you specify trackers using the <vizcave:Cave>.setTracker command. When specifying the head position/orientation, the current IPD value of the cave will be used to calculate the position of each eye.

Note: The eye position must be in the same units used to specify the dimensions of the cave walls.



Important: This command will NOT update the main viewpoint. The user is responsible for applying the tracking data to the active viewpoint.

Return Value

None

See also

<vizcave:Cave>.getLeftPositionTracker
<vizcave:Cave>.getOrientationTracker
<vizcave:Cave>.getPositionTracker
<vizcave:Cave>.getRightPositionTracker
<vizcave:Cave>.setTracker