Class SAIOrthoViewpoint
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.navigation.SAIOrthoViewpoint
- All Implemented Interfaces:
OrthoViewpoint
,X3DBindableNode
,X3DChildNode
,X3DNode
,X3DViewpointNode
A concrete implementation of the OrthoViewpoint node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIOrthoViewpoint
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptiondouble
Return the bindTime double value.void
getCenterOfRotation
(float[] val) Return the centerOfRotation value in the argument float[]Return the description String value.void
getFieldOfView
(float[] val) Return the fieldOfView value in the argument float[]boolean
Return the isBound boolean value.boolean
getJump()
Return the jump boolean value.int
Return the number of MFFloat items in the fieldOfView field.void
getOrientation
(float[] val) Return the orientation value in the argument float[]void
getPosition
(float[] val) Return the position value in the argument float[]boolean
Return the retainUserOffsets boolean value.boolean
Return the viewAll boolean value.void
setBind
(boolean val) Set the set_bind field.void
setCenterOfRotation
(float[] val) Set the centerOfRotation field.void
setDescription
(String val) Set the description field.void
setFieldOfView
(float[] val) Set the fieldOfView field.void
setJump
(boolean val) Set the jump field.void
setOrientation
(float[] val) Set the orientation field.void
setPosition
(float[] val) Set the position field.void
setRetainUserOffsets
(boolean val) Set the retainUserOffsets field.void
setViewAll
(boolean val) Set the viewAll field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIOrthoViewpoint
public SAIOrthoViewpoint(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
setBind
public void setBind(boolean val) Set the set_bind field.- Specified by:
setBind
in interfaceX3DBindableNode
- Parameters:
val
- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTime
in interfaceX3DBindableNode
- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBound
in interfaceX3DBindableNode
- Returns:
- The isBound boolean value.
-
getNumFieldOfView
public int getNumFieldOfView()Return the number of MFFloat items in the fieldOfView field.- Specified by:
getNumFieldOfView
in interfaceOrthoViewpoint
- Returns:
- the number of MFFloat items in the fieldOfView field.
-
getFieldOfView
public void getFieldOfView(float[] val) Return the fieldOfView value in the argument float[]- Specified by:
getFieldOfView
in interfaceOrthoViewpoint
- Parameters:
val
- The float[] to initialize.
-
setFieldOfView
public void setFieldOfView(float[] val) Set the fieldOfView field.- Specified by:
setFieldOfView
in interfaceOrthoViewpoint
- Parameters:
val
- The float[] to set.
-
getJump
public boolean getJump()Return the jump boolean value.- Specified by:
getJump
in interfaceX3DViewpointNode
- Returns:
- The jump boolean value.
-
setJump
public void setJump(boolean val) Set the jump field.- Specified by:
setJump
in interfaceX3DViewpointNode
- Parameters:
val
- The boolean to set.
-
getOrientation
public void getOrientation(float[] val) Return the orientation value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setOrientation
public void setOrientation(float[] val) Set the orientation field.- Specified by:
setOrientation
in interfaceX3DViewpointNode
- Parameters:
val
- The float[] to set.
-
getPosition
public void getPosition(float[] val) Return the position value in the argument float[]- Specified by:
getPosition
in interfaceOrthoViewpoint
- Parameters:
val
- The float[] to initialize.
-
setPosition
public void setPosition(float[] val) Set the position field.- Specified by:
setPosition
in interfaceOrthoViewpoint
- Parameters:
val
- The float[] to set.
-
getDescription
Return the description String value.- Specified by:
getDescription
in interfaceX3DViewpointNode
- Returns:
- The description String value.
-
setDescription
Set the description field.- Specified by:
setDescription
in interfaceX3DViewpointNode
- Parameters:
val
- The String to set.
-
getCenterOfRotation
public void getCenterOfRotation(float[] val) Return the centerOfRotation value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setCenterOfRotation
public void setCenterOfRotation(float[] val) Set the centerOfRotation field.- Parameters:
val
- The float[] to set.
-
getRetainUserOffsets
public boolean getRetainUserOffsets()Return the retainUserOffsets boolean value.- Specified by:
getRetainUserOffsets
in interfaceX3DViewpointNode
- Returns:
- The retainUserOffsets boolean value.
-
setRetainUserOffsets
public void setRetainUserOffsets(boolean val) Set the retainUserOffsets field.- Specified by:
setRetainUserOffsets
in interfaceX3DViewpointNode
- Parameters:
val
- The boolean to set.
-
getViewAll
public boolean getViewAll()Return the viewAll boolean value.- Specified by:
getViewAll
in interfaceX3DViewpointNode
- Returns:
- The viewAll boolean value.
-
setViewAll
public void setViewAll(boolean val) Set the viewAll field.- Specified by:
setViewAll
in interfaceX3DViewpointNode
- Parameters:
val
- The boolean to set.
-