javax.media.j3d
Class ViewCache

java.lang.Object
  extended by javax.media.j3d.ViewCache

 class ViewCache
extends java.lang.Object

The ViewCache class is used to cache all data, both API data and derived data, that is independent of the Canvas3D and Screen3D.


Field Summary
(package private)  double backClipDistance
           
(package private)  int backClipPolicy
           
(package private)  boolean coexistenceCenteringEnable
           
(package private)  int coexistenceCenterInPworldPolicy
           
(package private)  Transform3D coexistenceToTrackerBase
           
(package private)  boolean compatibilityModeEnable
           
(package private)  Transform3D compatLeftProjection
           
(package private)  Transform3D compatRightProjection
           
(package private)  Transform3D compatVpcToEc
           
private  boolean doHeadTracking
           
(package private)  double fieldOfView
           
(package private)  double frontClipDistance
           
(package private)  int frontClipPolicy
           
(package private)  int headIndex
           
(package private)  Transform3D headToHeadTracker
           
(package private)  Transform3D headTrackerToTrackerBase
           
(package private)  Point3d leftEarPosInHead
          The user's left ear's position in head coordinates.
(package private)  Point3d leftEyePosInHead
          The user's left eye's position in head coordinates.
(package private)  Point3d leftManualEyeInCoexistence
           
(package private)  int monoscopicViewPolicy
           
(package private)  double nominalEyeHeightFromGround
          The user's nominal eye height as measured from the ground plane.
(package private)  double nominalEyeOffsetFromNominalScreen
          The amount to offset the system's viewpoint from the user's current eye-point.
(package private)  int projectionPolicy
           
(package private)  Point3d rightEarPosInHead
          The user's right ear's position in head coordinates.
(package private)  Point3d rightEyePosInHead
          The user's right eye's position in head coordinates.
(package private)  Point3d rightManualEyeInCoexistence
           
(package private)  double screenScale
           
(package private)  int screenScalePolicy
           
(package private)  Transform3D trackerBaseToHeadTracker
           
(package private)  boolean trackingAvailable
           
(package private)  boolean trackingEnable
           
(package private)  Transform3D userHeadToVworld
           
(package private)  boolean userHeadToVworldEnable
           
(package private)  int vcDirtyMask
           
(package private)  View view
           
(package private)  int viewAttachPolicy
           
(package private)  int viewPolicy
           
(package private)  int visibilityPolicy
          Defines the visibility policy.
(package private)  ViewPlatformRetained vpRetained
           
(package private)  int windowEyepointPolicy
           
(package private)  int windowMovementPolicy
           
(package private)  int windowResizePolicy
           
 
Constructor Summary
ViewCache(View view)
          Constructs and initializes a ViewCache object.
 
Method Summary
(package private)  void computeDerivedData()
          Compute derived data using the snapshot of the per-view data.
(package private)  boolean getDoHeadTracking()
           
(package private)  void snapshot()
          Take snapshot of all per-view API parameters and input values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

View view

viewAttachPolicy

int viewAttachPolicy

leftEyePosInHead

Point3d leftEyePosInHead
The user's left eye's position in head coordinates.


rightEyePosInHead

Point3d rightEyePosInHead
The user's right eye's position in head coordinates.


leftEarPosInHead

Point3d leftEarPosInHead
The user's left ear's position in head coordinates.


rightEarPosInHead

Point3d rightEarPosInHead
The user's right ear's position in head coordinates.


nominalEyeHeightFromGround

double nominalEyeHeightFromGround
The user's nominal eye height as measured from the ground plane.


nominalEyeOffsetFromNominalScreen

double nominalEyeOffsetFromNominalScreen
The amount to offset the system's viewpoint from the user's current eye-point. This offset distance allows an "Over the shoulder" view of the scene as seen by the user.


headToHeadTracker

Transform3D headToHeadTracker

coexistenceToTrackerBase

Transform3D coexistenceToTrackerBase

headTrackerToTrackerBase

Transform3D headTrackerToTrackerBase

trackerBaseToHeadTracker

Transform3D trackerBaseToHeadTracker

trackingAvailable

boolean trackingAvailable

headIndex

int headIndex

coexistenceCenterInPworldPolicy

int coexistenceCenterInPworldPolicy

compatibilityModeEnable

boolean compatibilityModeEnable

coexistenceCenteringEnable

boolean coexistenceCenteringEnable

leftManualEyeInCoexistence

Point3d leftManualEyeInCoexistence

rightManualEyeInCoexistence

Point3d rightManualEyeInCoexistence

viewPolicy

int viewPolicy

projectionPolicy

int projectionPolicy

screenScalePolicy

int screenScalePolicy

screenScale

double screenScale

windowResizePolicy

int windowResizePolicy

windowMovementPolicy

int windowMovementPolicy

windowEyepointPolicy

int windowEyepointPolicy

monoscopicViewPolicy

int monoscopicViewPolicy

fieldOfView

double fieldOfView

frontClipDistance

double frontClipDistance

backClipDistance

double backClipDistance

frontClipPolicy

int frontClipPolicy

backClipPolicy

int backClipPolicy

vpRetained

ViewPlatformRetained vpRetained

visibilityPolicy

int visibilityPolicy
Defines the visibility policy.


trackingEnable

boolean trackingEnable

userHeadToVworldEnable

boolean userHeadToVworldEnable

compatVpcToEc

Transform3D compatVpcToEc

compatLeftProjection

Transform3D compatLeftProjection

compatRightProjection

Transform3D compatRightProjection

vcDirtyMask

int vcDirtyMask

doHeadTracking

private boolean doHeadTracking

userHeadToVworld

Transform3D userHeadToVworld
Constructor Detail

ViewCache

ViewCache(View view)
Constructs and initializes a ViewCache object.

Method Detail

snapshot

void snapshot()
Take snapshot of all per-view API parameters and input values.


computeDerivedData

void computeDerivedData()
Compute derived data using the snapshot of the per-view data.


getDoHeadTracking

boolean getDoHeadTracking()


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.