Class SAIGeoViewpoint
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geospatial.SAIGeoViewpoint
- All Implemented Interfaces:
GeoViewpoint
,X3DBindableNode
,X3DChildNode
,X3DNode
,X3DViewpointNode
A concrete implementation of the GeoViewpoint node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoViewpoint
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) 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.float
Return the fieldOfView float value.Return the geoOrigin X3DNode value.void
getGeoSystem
(String[] val) Return the geoSystem value in the argument String[]boolean
Return the headlight boolean value.boolean
Return the isBound boolean value.boolean
getJump()
Return the jump boolean value.void
getNavType
(String[] val) Return the navType value in the argument String[]int
Return the number of MFString items in the geoSystem field.int
Return the number of MFString items in the navType field.void
getOrientation
(float[] val) Return the orientation value in the argument float[]void
getPosition
(double[] val) Return the position value in the argument double[]boolean
Return the retainUserOffsets boolean value.float
Return the speedFactor float 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
setGeoOrigin
(X3DNode val) Set the geoOrigin field.void
setGeoSystem
(String[] val) Set the geoSystem field.void
setHeadlight
(boolean val) Set the headlight field.void
setJump
(boolean val) Set the jump field.void
setNavType
(String[] val) Set the navType field.void
setOrientation
(float[] val) Set the orientation field.void
setPosition
(double[] val) Set the position field.void
setRetainUserOffsets
(boolean val) Set the retainUserOffsets field.void
setSpeedFactor
(float val) Set the speedFactor field.void
setViewAll
(boolean val) Set the viewAll field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoViewpoint
public SAIGeoViewpoint(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getOrientation
public void getOrientation(float[] val) Return the orientation value in the argument float[]- Specified by:
getOrientation
in interfaceGeoViewpoint
- Parameters:
val
- The float[] to initialize.
-
setOrientation
public void setOrientation(float[] val) Set the orientation field.- Specified by:
setOrientation
in interfaceGeoViewpoint
- Specified by:
setOrientation
in interfaceX3DViewpointNode
- Parameters:
val
- The float[] to set.
-
getPosition
public void getPosition(double[] val) Return the position value in the argument double[]- Specified by:
getPosition
in interfaceGeoViewpoint
- Parameters:
val
- The double[] to initialize.
-
setPosition
public void setPosition(double[] val) Set the position field.- Specified by:
setPosition
in interfaceGeoViewpoint
- Parameters:
val
- The double[] 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.
-
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.
-
getFieldOfView
public float getFieldOfView()Return the fieldOfView float value.- Specified by:
getFieldOfView
in interfaceGeoViewpoint
- Returns:
- The fieldOfView float value.
-
setFieldOfView
public void setFieldOfView(float val) Set the fieldOfView field.- Specified by:
setFieldOfView
in interfaceGeoViewpoint
- 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.
-
getHeadlight
public boolean getHeadlight()Return the headlight boolean value.- Specified by:
getHeadlight
in interfaceGeoViewpoint
- Returns:
- The headlight boolean value.
-
setHeadlight
public void setHeadlight(boolean val) Set the headlight field.- Specified by:
setHeadlight
in interfaceGeoViewpoint
- Parameters:
val
- The boolean 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.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOrigin
in interfaceGeoViewpoint
- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOrigin
in interfaceGeoViewpoint
- Parameters:
val
- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystem
in interfaceGeoViewpoint
- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystem
in interfaceGeoViewpoint
- Parameters:
val
- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystem
in interfaceGeoViewpoint
- Parameters:
val
- The String[] to set.
-
getSpeedFactor
public float getSpeedFactor()Return the speedFactor float value.- Specified by:
getSpeedFactor
in interfaceGeoViewpoint
- Returns:
- The speedFactor float value.
-
setSpeedFactor
public void setSpeedFactor(float val) Set the speedFactor field.- Specified by:
setSpeedFactor
in interfaceGeoViewpoint
- 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.
-