Class SAIGeoViewpoint
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.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
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoViewpoint(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.Return the geoOrigin X3DNode value.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]booleanReturn the headlight boolean value.booleanReturn the isBound boolean value.booleangetJump()Return the jump boolean value.voidgetNavType(String[] val) Return the navType value in the argument String[]intReturn the number of MFString items in the geoSystem field.intReturn the number of MFString items in the navType field.voidgetOrientation(float[] val) Return the orientation value in the argument float[]voidgetPosition(double[] val) Return the position value in the argument double[]booleanReturn the retainUserOffsets boolean value.floatReturn the speedFactor float 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.voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.voidsetHeadlight(boolean val) Set the headlight field.voidsetJump(boolean val) Set the jump field.voidsetNavType(String[] val) Set the navType field.voidsetOrientation(float[] val) Set the orientation field.voidsetPosition(double[] val) Set the position field.voidsetRetainUserOffsets(boolean val) Set the retainUserOffsets field.voidsetSpeedFactor(float val) Set the speedFactor 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
-
SAIGeoViewpoint
public SAIGeoViewpoint(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getOrientation
public void getOrientation(float[] val) Return the orientation value in the argument float[]- Specified by:
getOrientationin interfaceGeoViewpoint- Parameters:
val- The float[] to initialize.
-
setOrientation
public void setOrientation(float[] val) Set the orientation field.- Specified by:
setOrientationin interfaceGeoViewpoint- Specified by:
setOrientationin interfaceX3DViewpointNode- Parameters:
val- The float[] to set.
-
getPosition
public void getPosition(double[] val) Return the position value in the argument double[]- Specified by:
getPositionin interfaceGeoViewpoint- Parameters:
val- The double[] to initialize.
-
setPosition
public void setPosition(double[] val) Set the position field.- Specified by:
setPositionin 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:
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 interfaceGeoViewpoint- Returns:
- The fieldOfView float value.
-
setFieldOfView
public void setFieldOfView(float val) Set the fieldOfView field.- Specified by:
setFieldOfViewin interfaceGeoViewpoint- 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.
-
getHeadlight
public boolean getHeadlight()Return the headlight boolean value.- Specified by:
getHeadlightin interfaceGeoViewpoint- Returns:
- The headlight boolean value.
-
setHeadlight
public void setHeadlight(boolean val) Set the headlight field.- Specified by:
setHeadlightin interfaceGeoViewpoint- Parameters:
val- The boolean 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.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoViewpoint- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoViewpoint- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoViewpoint- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoViewpoint- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoViewpoint- Parameters:
val- The String[] to set.
-
getSpeedFactor
public float getSpeedFactor()Return the speedFactor float value.- Specified by:
getSpeedFactorin interfaceGeoViewpoint- Returns:
- The speedFactor float value.
-
setSpeedFactor
public void setSpeedFactor(float val) Set the speedFactor field.- Specified by:
setSpeedFactorin interfaceGeoViewpoint- 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.
-