Package org.xj3d.sai.external.node.hanim
Class SAIHAnimHumanoid
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.hanim.SAIHAnimHumanoid
- All Implemented Interfaces:
HAnimHumanoid
,X3DBoundedObject
,X3DChildNode
,X3DNode
A concrete implementation of the HAnimHumanoid node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIHAnimHumanoid
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getBboxCenter
(float[] val) Return the bboxCenter value in the argument float[]void
getBboxSize
(float[] val) Return the bboxSize value in the argument float[]void
getCenter
(float[] val) Return the center value in the argument float[]void
Return the info value in the argument String[]void
Return the joints value in the argument X3DNode[]getName()
Return the name String value.int
Return the number of MFString items in the info field.int
Return the number of MFNode items in the joints field.int
Return the number of MFNode items in the segments field.int
Return the number of MFNode items in the sites field.int
Return the number of MFNode items in the skeleton field.int
Return the number of MFNode items in the skin field.int
Return the number of MFNode items in the viewpoints field.void
getRotation
(float[] val) Return the rotation value in the argument float[]void
getScale
(float[] val) Return the scale value in the argument float[]void
getScaleOrientation
(float[] val) Return the scaleOrientation value in the argument float[]void
getSegments
(X3DNode[] val) Return the segments value in the argument X3DNode[]void
Return the sites value in the argument X3DNode[]void
getSkeleton
(X3DNode[] val) Return the skeleton value in the argument X3DNode[]void
Return the skin value in the argument X3DNode[]Return the skinCoord X3DNode value.Return the skinNormal X3DNode value.void
getTranslation
(float[] val) Return the translation value in the argument float[]Return the version String value.void
getViewpoints
(X3DNode[] val) Return the viewpoints value in the argument X3DNode[]void
setBboxCenter
(float[] val) Set the bboxCenter field.void
setBboxSize
(float[] val) Set the bboxSize field.void
setCenter
(float[] val) Set the center field.void
Set the info field.void
Set the joints field.void
Set the name field.void
setRotation
(float[] val) Set the rotation field.void
setScale
(float[] val) Set the scale field.void
setScaleOrientation
(float[] val) Set the scaleOrientation field.void
setSegments
(X3DNode[] val) Set the segments field.void
Set the sites field.void
setSkeleton
(X3DNode[] val) Set the skeleton field.void
Set the skin field.void
setSkinCoord
(X3DNode val) Set the skinCoord field.void
setSkinNormal
(X3DNode val) Set the skinNormal field.void
setTranslation
(float[] val) Set the translation field.void
setVersion
(String val) Set the version field.void
setViewpoints
(X3DNode[] val) Set the viewpoints 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
-
SAIHAnimHumanoid
public SAIHAnimHumanoid(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getCenter
public void getCenter(float[] val) Return the center value in the argument float[]- Specified by:
getCenter
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to initialize.
-
setCenter
public void setCenter(float[] val) Set the center field.- Specified by:
setCenter
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to set.
-
getRotation
public void getRotation(float[] val) Return the rotation value in the argument float[]- Specified by:
getRotation
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to initialize.
-
setRotation
public void setRotation(float[] val) Set the rotation field.- Specified by:
setRotation
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to set.
-
getScale
public void getScale(float[] val) Return the scale value in the argument float[]- Specified by:
getScale
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to initialize.
-
setScale
public void setScale(float[] val) Set the scale field.- Specified by:
setScale
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to set.
-
getScaleOrientation
public void getScaleOrientation(float[] val) Return the scaleOrientation value in the argument float[]- Specified by:
getScaleOrientation
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to initialize.
-
setScaleOrientation
public void setScaleOrientation(float[] val) Set the scaleOrientation field.- Specified by:
setScaleOrientation
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation value in the argument float[]- Specified by:
getTranslation
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to initialize.
-
setTranslation
public void setTranslation(float[] val) Set the translation field.- Specified by:
setTranslation
in interfaceHAnimHumanoid
- Parameters:
val
- The float[] to set.
-
getName
Return the name String value.- Specified by:
getName
in interfaceHAnimHumanoid
- Returns:
- The name String value.
-
setName
Set the name field.- Specified by:
setName
in interfaceHAnimHumanoid
- Parameters:
val
- The String to set.
-
getNumInfo
public int getNumInfo()Return the number of MFString items in the info field.- Specified by:
getNumInfo
in interfaceHAnimHumanoid
- Returns:
- the number of MFString items in the info field.
-
getInfo
Return the info value in the argument String[]- Specified by:
getInfo
in interfaceHAnimHumanoid
- Parameters:
val
- The String[] to initialize.
-
setInfo
Set the info field.- Specified by:
setInfo
in interfaceHAnimHumanoid
- Parameters:
val
- The String[] to set.
-
getNumJoints
public int getNumJoints()Return the number of MFNode items in the joints field.- Specified by:
getNumJoints
in interfaceHAnimHumanoid
- Returns:
- the number of MFNode items in the joints field.
-
getJoints
Return the joints value in the argument X3DNode[]- Specified by:
getJoints
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to initialize.
-
setJoints
Set the joints field.- Specified by:
setJoints
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to set.
-
getNumSegments
public int getNumSegments()Return the number of MFNode items in the segments field.- Specified by:
getNumSegments
in interfaceHAnimHumanoid
- Returns:
- the number of MFNode items in the segments field.
-
getSegments
Return the segments value in the argument X3DNode[]- Specified by:
getSegments
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to initialize.
-
setSegments
Set the segments field.- Specified by:
setSegments
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to set.
-
getNumSites
public int getNumSites()Return the number of MFNode items in the sites field.- Specified by:
getNumSites
in interfaceHAnimHumanoid
- Returns:
- the number of MFNode items in the sites field.
-
getSites
Return the sites value in the argument X3DNode[]- Specified by:
getSites
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to initialize.
-
setSites
Set the sites field.- Specified by:
setSites
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to set.
-
getNumSkeleton
public int getNumSkeleton()Return the number of MFNode items in the skeleton field.- Specified by:
getNumSkeleton
in interfaceHAnimHumanoid
- Returns:
- the number of MFNode items in the skeleton field.
-
getSkeleton
Return the skeleton value in the argument X3DNode[]- Specified by:
getSkeleton
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to initialize.
-
setSkeleton
Set the skeleton field.- Specified by:
setSkeleton
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to set.
-
getNumSkin
public int getNumSkin()Return the number of MFNode items in the skin field.- Specified by:
getNumSkin
in interfaceHAnimHumanoid
- Returns:
- the number of MFNode items in the skin field.
-
getSkin
Return the skin value in the argument X3DNode[]- Specified by:
getSkin
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to initialize.
-
setSkin
Set the skin field.- Specified by:
setSkin
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to set.
-
getSkinCoord
Return the skinCoord X3DNode value.- Specified by:
getSkinCoord
in interfaceHAnimHumanoid
- Returns:
- The skinCoord X3DNode value.
-
setSkinCoord
Set the skinCoord field.- Specified by:
setSkinCoord
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode to set.
-
getSkinNormal
Return the skinNormal X3DNode value.- Specified by:
getSkinNormal
in interfaceHAnimHumanoid
- Returns:
- The skinNormal X3DNode value.
-
setSkinNormal
Set the skinNormal field.- Specified by:
setSkinNormal
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode to set.
-
getVersion
Return the version String value.- Specified by:
getVersion
in interfaceHAnimHumanoid
- Returns:
- The version String value.
-
setVersion
Set the version field.- Specified by:
setVersion
in interfaceHAnimHumanoid
- Parameters:
val
- The String to set.
-
getNumViewpoints
public int getNumViewpoints()Return the number of MFNode items in the viewpoints field.- Specified by:
getNumViewpoints
in interfaceHAnimHumanoid
- Returns:
- the number of MFNode items in the viewpoints field.
-
getViewpoints
Return the viewpoints value in the argument X3DNode[]- Specified by:
getViewpoints
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to initialize.
-
setViewpoints
Set the viewpoints field.- Specified by:
setViewpoints
in interfaceHAnimHumanoid
- Parameters:
val
- The X3DNode[] to set.
-
getBboxCenter
public void getBboxCenter(float[] val) Return the bboxCenter value in the argument float[]- Specified by:
getBboxCenter
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to initialize.
-
setBboxCenter
public void setBboxCenter(float[] val) Set the bboxCenter field.- Specified by:
setBboxCenter
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to set.
-
getBboxSize
public void getBboxSize(float[] val) Return the bboxSize value in the argument float[]- Specified by:
getBboxSize
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to initialize.
-
setBboxSize
public void setBboxSize(float[] val) Set the bboxSize field.- Specified by:
setBboxSize
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to set.
-