Class SAIGeoPositionInterpolator
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geospatial.SAIGeoPositionInterpolator
- All Implemented Interfaces:
GeoPositionInterpolator
,X3DChildNode
,X3DInterpolatorNode
,X3DNode
A concrete implementation of the GeoPositionInterpolator node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoPositionInterpolator
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the geoOrigin X3DNode value.void
getGeoSystem
(String[] val) Return the geoSystem value in the argument String[]void
getGeovalue
(double[] val) Return the geovalue_changed value in the argument double[]void
getKey
(float[] val) Return the key value in the argument float[]void
getKeyValue
(double[] val) Return the keyValue value in the argument double[]int
Return the number of MFString items in the geoSystem field.int
Return the number of MFFloat items in the key field.int
Return the number of MFVec3d items in the keyValue field.void
getValue
(float[] val) Return the value_changed value in the argument float[]void
setFraction
(float val) Set the set_fraction field.void
setGeoOrigin
(X3DNode val) Set the geoOrigin field.void
setGeoSystem
(String[] val) Set the geoSystem field.void
setKey
(float[] val) Set the key field.void
setKeyValue
(double[] val) Set the keyValue field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoPositionInterpolator
public SAIGeoPositionInterpolator(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getNumKey
public int getNumKey()Return the number of MFFloat items in the key field.- Specified by:
getNumKey
in interfaceX3DInterpolatorNode
- Returns:
- the number of MFFloat items in the key field.
-
getKey
public void getKey(float[] val) Return the key value in the argument float[]- Specified by:
getKey
in interfaceX3DInterpolatorNode
- Parameters:
val
- The float[] to initialize.
-
setKey
public void setKey(float[] val) Set the key field.- Specified by:
setKey
in interfaceX3DInterpolatorNode
- Parameters:
val
- The float[] to set.
-
getNumKeyValue
public int getNumKeyValue()Return the number of MFVec3d items in the keyValue field.- Specified by:
getNumKeyValue
in interfaceGeoPositionInterpolator
- Returns:
- the number of MFVec3d items in the keyValue field.
-
getKeyValue
public void getKeyValue(double[] val) Return the keyValue value in the argument double[]- Specified by:
getKeyValue
in interfaceGeoPositionInterpolator
- Parameters:
val
- The double[] to initialize.
-
setKeyValue
public void setKeyValue(double[] val) Set the keyValue field.- Specified by:
setKeyValue
in interfaceGeoPositionInterpolator
- Parameters:
val
- The double[] to set.
-
setFraction
public void setFraction(float val) Set the set_fraction field.- Specified by:
setFraction
in interfaceX3DInterpolatorNode
- Parameters:
val
- The float to set.
-
getValue
public void getValue(float[] val) Return the value_changed value in the argument float[]- Specified by:
getValue
in interfaceGeoPositionInterpolator
- Parameters:
val
- The float[] to initialize.
-
getGeovalue
public void getGeovalue(double[] val) Return the geovalue_changed value in the argument double[]- Specified by:
getGeovalue
in interfaceGeoPositionInterpolator
- Parameters:
val
- The double[] to initialize.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOrigin
in interfaceGeoPositionInterpolator
- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOrigin
in interfaceGeoPositionInterpolator
- Parameters:
val
- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystem
in interfaceGeoPositionInterpolator
- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystem
in interfaceGeoPositionInterpolator
- Parameters:
val
- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystem
in interfaceGeoPositionInterpolator
- Parameters:
val
- The String[] to set.
-