Package org.web3d.x3d.sai.geospatial
Interface GeoViewpoint
- All Superinterfaces:
X3DBindableNode,X3DChildNode,X3DNode,X3DViewpointNode
- All Known Implementing Classes:
SAIGeoViewpoint,SAIGeoViewpoint
Defines the requirements of an X3D GeoViewpoint node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturn 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.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[]floatReturn the speedFactor float value.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.voidsetNavType(String[] val) Set the navType field.voidsetOrientation(float[] val) Set the orientation field.voidsetPosition(double[] val) Set the position field.voidsetSpeedFactor(float val) Set the speedFactor field.Methods inherited from interface org.web3d.x3d.sai.X3DBindableNode
getBindTime, getIsBound, setBindMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DViewpointNode
getDescription, getJump, getRetainUserOffsets, getViewAll, setDescription, setJump, setRetainUserOffsets, setViewAll
-
Method Details
-
getFieldOfView
float getFieldOfView()Return the fieldOfView float value.- Returns:
- The fieldOfView float value.
-
setFieldOfView
void setFieldOfView(float val) Set the fieldOfView field.- Parameters:
val- The float to set.
-
getHeadlight
boolean getHeadlight()Return the headlight boolean value.- Returns:
- The headlight boolean value.
-
setHeadlight
void setHeadlight(boolean val) Set the headlight field.- Parameters:
val- The boolean to set.
-
getGeoOrigin
-
setGeoOrigin
-
getNumGeoSystem
int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setGeoSystem
-
getOrientation
void getOrientation(float[] val) Return the orientation value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setOrientation
void setOrientation(float[] val) Set the orientation field.- Specified by:
setOrientationin interfaceX3DViewpointNode- Parameters:
val- The float[] to set.
-
getPosition
void getPosition(double[] val) Return the position value in the argument double[]- Parameters:
val- The double[] to initialize.
-
setPosition
void setPosition(double[] val) Set the position field.- Parameters:
val- The double[] to set.
-
getSpeedFactor
float getSpeedFactor()Return the speedFactor float value.- Returns:
- The speedFactor float value.
-
setSpeedFactor
void setSpeedFactor(float val) Set the speedFactor field.- Parameters:
val- The float to set.
-