com.sun.j3d.utils.universe
Class ConfigView

java.lang.Object
  extended by com.sun.j3d.utils.universe.ConfigObject
      extended by com.sun.j3d.utils.universe.ConfigView

 class ConfigView
extends ConfigObject


Field Summary
(package private)  boolean antialiasingEnable
          Indicates whether or not antialiasing is enabled for this ConfigView.
private  double backClipDistance
           
private  int backClipPolicy
           
private  Point3d centerEyeInCoexistence
           
private  boolean coeCenteringEnable
           
private  boolean coeCenteringEnableSet
           
private  ConfigPhysicalBody configBody
           
private  ConfigPhysicalEnvironment configEnv
           
private  ConfigViewPlatform configViewPlatform
           
private  double fieldOfView
           
private  double frontClipDistance
           
private  int frontClipPolicy
           
(package private)  View j3dView
          The corresponding View and Viewer instances.
(package private)  Viewer j3dViewer
           
(package private)  PhysicalBody physicalBody
          Reference to the PhysicalBody associated with this ConfigView.
(package private)  PhysicalEnvironment physicalEnvironment
          Reference to the PhysicalEnvironment associated with this ConfigView.
(package private)  java.util.Set screens
          Set of ConfigScreen instances added to this view.
private  double screenScale
           
private  int screenScalePolicy
           
(package private)  boolean stereoEnable
          Indicates whether or not stereo viewing should be enabled for this ConfigView.
private  boolean trackingEnable
           
private  int viewPolicy
           
private  int windowEyepointPolicy
           
private  int windowMovementPolicy
           
private  int windowResizePolicy
           
 
Fields inherited from class com.sun.j3d.utils.universe.ConfigObject
aliases, baseName, classLoader, configContainer, creatingCommand, instanceName, isAlias, original, properties, targetClass, targetClassName, targetObject
 
Constructor Summary
ConfigView()
           
 
Method Summary
protected  Viewer createViewer(boolean setVisible)
          Create a core Java 3D View instance and a utility Viewer instance using the attributes gathered by this object.
protected  void initialize(ConfigCommand command)
          Overrides initialize() to do nothing.
protected  void setProperty(ConfigCommand command)
          Processes properties for this object.
 
Methods inherited from class com.sun.j3d.utils.universe.ConfigObject
createTargetObject, errorMessage, evaluateProperties, getClassForName, getNewInstance, isName, processProperties, setClassLoader, syntaxError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

j3dView

View j3dView
The corresponding View and Viewer instances. These are set when createJ3dView() is called after parsing the configuration file.


j3dViewer

Viewer j3dViewer

screens

java.util.Set screens
Set of ConfigScreen instances added to this view.


stereoEnable

boolean stereoEnable
Indicates whether or not stereo viewing should be enabled for this ConfigView. This is set during parsing of the configuration file.


antialiasingEnable

boolean antialiasingEnable
Indicates whether or not antialiasing is enabled for this ConfigView. This is set during parsing of the configuration file.


physicalBody

PhysicalBody physicalBody
Reference to the PhysicalBody associated with this ConfigView. This is set when createJ3dView() is called after parsing the configuration file.


physicalEnvironment

PhysicalEnvironment physicalEnvironment
Reference to the PhysicalEnvironment associated with this ConfigView. This is set when createJ3dView() is called after parsing the configuration file.


fieldOfView

private double fieldOfView

backClipPolicy

private int backClipPolicy

frontClipPolicy

private int frontClipPolicy

backClipDistance

private double backClipDistance

frontClipDistance

private double frontClipDistance

screenScalePolicy

private int screenScalePolicy

screenScale

private double screenScale

trackingEnable

private boolean trackingEnable

viewPolicy

private int viewPolicy

windowEyepointPolicy

private int windowEyepointPolicy

windowMovementPolicy

private int windowMovementPolicy

windowResizePolicy

private int windowResizePolicy

coeCenteringEnableSet

private boolean coeCenteringEnableSet

coeCenteringEnable

private boolean coeCenteringEnable

centerEyeInCoexistence

private Point3d centerEyeInCoexistence

configBody

private ConfigPhysicalBody configBody

configEnv

private ConfigPhysicalEnvironment configEnv

configViewPlatform

private ConfigViewPlatform configViewPlatform
Constructor Detail

ConfigView

ConfigView()
Method Detail

initialize

protected void initialize(ConfigCommand command)
Overrides initialize() to do nothing.

Overrides:
initialize in class ConfigObject
Parameters:
command - the command that created this ConfigObject

setProperty

protected void setProperty(ConfigCommand command)
Processes properties for this object. Handles commands of the form:

(ViewAttribute {instanceName} {attrName} {attrValue})

Overrides:
setProperty in class ConfigObject
Parameters:
command - the command that invoked this method

createViewer

protected Viewer createViewer(boolean setVisible)
Create a core Java 3D View instance and a utility Viewer instance using the attributes gathered by this object.



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