Class SAIViewpoint
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.navigation.SAIViewpoint
- All Implemented Interfaces:
Viewpoint,X3DBindableNode,X3DChildNode,X3DNode,X3DViewpointNode
A concrete implementation of the Viewpoint node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIViewpoint(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturn the bindTime double value.voidgetCenterOfRotation(float[] val) Return the centerOfRotation value in the argument float[]Return the description String value.floatReturn the fieldOfView float value.booleanReturn the isBound boolean value.booleangetJump()Return the jump boolean value.voidgetOrientation(float[] val) Return the orientation value in the argument float[]voidgetPosition(float[] val) Return the position value in the argument float[]booleanReturn the retainUserOffsets boolean value.booleanReturn the viewAll boolean value.voidsetBind(boolean val) Set the set_bind field.voidsetCenterOfRotation(float[] val) Set the centerOfRotation field.voidsetDescription(String val) Set the description field.voidsetFieldOfView(float val) Set the fieldOfView field.voidsetJump(boolean val) Set the jump field.voidsetOrientation(float[] val) Set the orientation field.voidsetPosition(float[] val) Set the position field.voidsetRetainUserOffsets(boolean val) Set the retainUserOffsets field.voidsetViewAll(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, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIViewpoint
public SAIViewpoint(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:
setBindin interfaceX3DBindableNode- Parameters:
val- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTimein interfaceX3DBindableNode- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBoundin interfaceX3DBindableNode- Returns:
- The isBound boolean value.
-
getFieldOfView
public float getFieldOfView()Return the fieldOfView float value.- Specified by:
getFieldOfViewin interfaceViewpoint- Returns:
- The fieldOfView float value.
-
setFieldOfView
public void setFieldOfView(float val) Set the fieldOfView field.- Specified by:
setFieldOfViewin interfaceViewpoint- Parameters:
val- The float to set.
-
getJump
public boolean getJump()Return the jump boolean value.- Specified by:
getJumpin interfaceX3DViewpointNode- Returns:
- The jump boolean value.
-
setJump
public void setJump(boolean val) Set the jump field.- Specified by:
setJumpin 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:
setOrientationin interfaceX3DViewpointNode- Parameters:
val- The float[] to set.
-
getPosition
public void getPosition(float[] val) Return the position value in the argument float[]- Specified by:
getPositionin interfaceViewpoint- Parameters:
val- The float[] to initialize.
-
setPosition
public void setPosition(float[] val) Set the position field.- Specified by:
setPositionin interfaceViewpoint- Parameters:
val- The float[] to set.
-
getDescription
Return the description String value.- Specified by:
getDescriptionin interfaceX3DViewpointNode- Returns:
- The description String value.
-
setDescription
Set the description field.- Specified by:
setDescriptionin 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:
getRetainUserOffsetsin interfaceX3DViewpointNode- Returns:
- The retainUserOffsets boolean value.
-
setRetainUserOffsets
public void setRetainUserOffsets(boolean val) Set the retainUserOffsets field.- Specified by:
setRetainUserOffsetsin interfaceX3DViewpointNode- Parameters:
val- The boolean to set.
-
getViewAll
public boolean getViewAll()Return the viewAll boolean value.- Specified by:
getViewAllin interfaceX3DViewpointNode- Returns:
- The viewAll boolean value.
-
setViewAll
public void setViewAll(boolean val) Set the viewAll field.- Specified by:
setViewAllin interfaceX3DViewpointNode- Parameters:
val- The boolean to set.
-