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 TypeMethodDescriptionvoid
getCoordIndex
(int[] val) Return the coordIndex value in the argument int[]void
getDisplacements
(float[] val) Return the displacements value in the argument float[]getName()
Return the name String value.int
Return the number of MFInt32 items in the coordIndex field.int
Return the number of MFFloat items in the displacements field.void
setCoordIndex
(int[] val) Set the coordIndex field.void
setDisplacements
(float[] val) Set the displacements field.void
Set 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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getNumCoordIndex
in 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:
getCoordIndex
in interfaceHAnimDisplacer
- Parameters:
val
- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndex
in interfaceHAnimDisplacer
- Parameters:
val
- The int[] to set.
-
getNumDisplacements
public int getNumDisplacements()Return the number of MFFloat items in the displacements field.- Specified by:
getNumDisplacements
in 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:
getDisplacements
in interfaceHAnimDisplacer
- Parameters:
val
- The float[] to initialize.
-
setDisplacements
public void setDisplacements(float[] val) Set the displacements field.- Specified by:
setDisplacements
in interfaceHAnimDisplacer
- Parameters:
val
- The float[] to set.
-
getName
Return the name String value.- Specified by:
getName
in interfaceHAnimDisplacer
- Returns:
- The name String value.
-
setName
Set the name field.- Specified by:
setName
in interfaceHAnimDisplacer
- Parameters:
val
- The String to set.
-