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.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]voidgetGeovalue(double[] val) Return the geovalue_changed value in the argument double[]voidgetKey(float[] val) Return the key value in the argument float[]voidgetKeyValue(double[] val) Return the keyValue value in the argument double[]intReturn the number of MFString items in the geoSystem field.intReturn the number of MFFloat items in the key field.intReturn the number of MFVec3d items in the keyValue field.voidgetValue(float[] val) Return the value_changed value in the argument float[]voidsetFraction(float val) Set the set_fraction field.voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.voidsetKey(float[] val) Set the key field.voidsetKeyValue(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, 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
-
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:
getNumKeyin 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:
getKeyin interfaceX3DInterpolatorNode- Parameters:
val- The float[] to initialize.
-
setKey
public void setKey(float[] val) Set the key field.- Specified by:
setKeyin interfaceX3DInterpolatorNode- Parameters:
val- The float[] to set.
-
getNumKeyValue
public int getNumKeyValue()Return the number of MFVec3d items in the keyValue field.- Specified by:
getNumKeyValuein 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:
getKeyValuein interfaceGeoPositionInterpolator- Parameters:
val- The double[] to initialize.
-
setKeyValue
public void setKeyValue(double[] val) Set the keyValue field.- Specified by:
setKeyValuein interfaceGeoPositionInterpolator- Parameters:
val- The double[] to set.
-
setFraction
public void setFraction(float val) Set the set_fraction field.- Specified by:
setFractionin interfaceX3DInterpolatorNode- Parameters:
val- The float to set.
-
getValue
public void getValue(float[] val) Return the value_changed value in the argument float[]- Specified by:
getValuein interfaceGeoPositionInterpolator- Parameters:
val- The float[] to initialize.
-
getGeovalue
public void getGeovalue(double[] val) Return the geovalue_changed value in the argument double[]- Specified by:
getGeovaluein interfaceGeoPositionInterpolator- Parameters:
val- The double[] to initialize.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoPositionInterpolator- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoPositionInterpolator- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoPositionInterpolator- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoPositionInterpolator- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoPositionInterpolator- Parameters:
val- The String[] to set.
-