Class SAIOrientationInterpolator
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.interpolation.SAIOrientationInterpolator
- All Implemented Interfaces:
OrientationInterpolator,X3DChildNode,X3DInterpolatorNode,X3DNode
A concrete implementation of the OrientationInterpolator node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIOrientationInterpolator(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetKey(float[] val) Return the key value in the argument float[]voidgetKeyValue(float[] val) Return the keyValue value in the argument float[]intReturn the number of MFFloat items in the key field.intReturn the number of MFRotation items in the keyValue field.voidgetValue(float[] val) Return the value value in the argument float[]voidsetFraction(float val) Set the fraction field.voidsetKey(float[] val) Set the key field.voidsetKeyValue(float[] val) Set the keyValue field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIOrientationInterpolator
public SAIOrientationInterpolator(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
node-refQueue-fac-fal-bnf-
-
-
Method Details
-
getNumKey
public int getNumKey()Description copied from interface:X3DInterpolatorNodeReturn 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) Description copied from interface:X3DInterpolatorNodeReturn the key value in the argument float[]- Specified by:
getKeyin interfaceX3DInterpolatorNode- Parameters:
val- The float[] to initialize.
-
setKey
public void setKey(float[] val) Description copied from interface:X3DInterpolatorNodeSet the key field.- Specified by:
setKeyin interfaceX3DInterpolatorNode- Parameters:
val- The float[] to set.
-
getNumKeyValue
public int getNumKeyValue()Description copied from interface:OrientationInterpolatorReturn the number of MFRotation items in the keyValue field.- Specified by:
getNumKeyValuein interfaceOrientationInterpolator- Returns:
- the number of MFRotation items in the keyValue field.
-
getKeyValue
public void getKeyValue(float[] val) Description copied from interface:OrientationInterpolatorReturn the keyValue value in the argument float[]- Specified by:
getKeyValuein interfaceOrientationInterpolator- Parameters:
val- The float[] to initialize.
-
setKeyValue
public void setKeyValue(float[] val) Description copied from interface:OrientationInterpolatorSet the keyValue field.- Specified by:
setKeyValuein interfaceOrientationInterpolator- Parameters:
val- The float[] to set.
-
setFraction
public void setFraction(float val) Description copied from interface:X3DInterpolatorNodeSet the fraction field.- Specified by:
setFractionin interfaceX3DInterpolatorNode- Parameters:
val- The float to set.
-
getValue
public void getValue(float[] val) Description copied from interface:OrientationInterpolatorReturn the value value in the argument float[]- Specified by:
getValuein interfaceOrientationInterpolator- Parameters:
val- The float[] to initialize.
-