Package org.xj3d.sai.internal.node.hanim
Class SAIHAnimDisplacer
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.hanim.SAIHAnimDisplacer
- All Implemented Interfaces:
HAnimDisplacer,X3DGeometricPropertyNode,X3DNode
A concrete implementation of the HAnimDisplacer 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
ConstructorsConstructorDescriptionSAIHAnimDisplacer(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetCoordIndex(int[] val) Return the coordIndex value in the argument int[]voidgetDisplacements(float[] val) Return the displacements value in the argument float[]getName()Return the name String value.intReturn the number of MFInt32 items in the coordIndex field.intReturn the number of MFFloat items in the displacements field.voidsetCoordIndex(int[] val) Set the coordIndex field.voidsetDisplacements(float[] val) Set the displacements field.voidSet the name 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
-
SAIHAnimDisplacer
public SAIHAnimDisplacer(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getNumCoordIndex
public int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Specified by:
getNumCoordIndexin interfaceHAnimDisplacer- Returns:
- the number of MFInt32 items in the coordIndex field.
-
getCoordIndex
public void getCoordIndex(int[] val) Return the coordIndex value in the argument int[]- Specified by:
getCoordIndexin interfaceHAnimDisplacer- Parameters:
val- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndexin interfaceHAnimDisplacer- Parameters:
val- The int[] to set.
-
getNumDisplacements
public int getNumDisplacements()Return the number of MFFloat items in the displacements field.- Specified by:
getNumDisplacementsin interfaceHAnimDisplacer- Returns:
- the number of MFFloat items in the displacements field.
-
getDisplacements
public void getDisplacements(float[] val) Return the displacements value in the argument float[]- Specified by:
getDisplacementsin interfaceHAnimDisplacer- Parameters:
val- The float[] to initialize.
-
setDisplacements
public void setDisplacements(float[] val) Set the displacements field.- Specified by:
setDisplacementsin interfaceHAnimDisplacer- Parameters:
val- The float[] to set.
-
getName
Return the name String value.- Specified by:
getNamein interfaceHAnimDisplacer- Returns:
- The name String value.
-
setName
Set the name field.- Specified by:
setNamein interfaceHAnimDisplacer- Parameters:
val- The String to set.
-