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 TypeMethodDescriptionfloat
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.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[]float
Return the speedFactor float value.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
setNavType
(String[] val) Set the navType field.void
setOrientation
(float[] val) Set the orientation field.void
setPosition
(double[] val) Set the position field.void
setSpeedFactor
(float val) Set the speedFactor field.Methods inherited from interface org.web3d.x3d.sai.X3DBindableNode
getBindTime, getIsBound, setBind
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods 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:
setOrientation
in 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.
-