Package org.web3d.x3d.sai.hanim
Interface HAnimSegment
- All Superinterfaces:
X3DBoundedObject,X3DChildNode,X3DGroupingNode,X3DNode
- All Known Implementing Classes:
SAIHAnimSegment,SAIHAnimSegment
Defines the requirements of an X3D HAnimSegment node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetCenterOfMass(float[] val) Return the centerOfMass value in the argument float[]getCoord()Return the coord X3DNode value.voidgetDisplacers(X3DNode[] val) Return the displacers value in the argument X3DNode[]floatgetMass()Return the mass float value.voidgetMomentsOfInertia(float[] val) Return the momentsOfInertia value in the argument float[]getName()Return the name String value.intReturn the number of MFNode items in the displacers field.intReturn the number of MFFloat items in the momentsOfInertia field.voidsetCenterOfMass(float[] val) Set the centerOfMass field.voidSet the coord field.voidsetCoord(X3DProtoInstance val) Set the coord field.voidsetDisplacers(X3DNode[] val) Set the displacers field.voidsetMass(float val) Set the mass field.voidsetMomentsOfInertia(float[] val) Set the momentsOfInertia field.voidSet the name field.Methods inherited from interface org.web3d.x3d.sai.X3DBoundedObject
getBboxCenter, getBboxSize, setBboxCenter, setBboxSizeMethods inherited from interface org.web3d.x3d.sai.X3DGroupingNode
addChildren, getChildren, getNumChildren, removeChildren, setChildrenMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getCenterOfMass
void getCenterOfMass(float[] val) Return the centerOfMass value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setCenterOfMass
void setCenterOfMass(float[] val) Set the centerOfMass field.- Parameters:
val- The float[] to set.
-
getCoord
-
setCoord
Set the coord field.- Parameters:
val- The X3DCoordinateNode to set.
-
setCoord
Set the coord field.- Parameters:
val- The X3DProtoInstance to set.
-
getNumDisplacers
int getNumDisplacers()Return the number of MFNode items in the displacers field.- Returns:
- the number of MFNode items in the displacers field.
-
getDisplacers
Return the displacers value in the argument X3DNode[]- Parameters:
val- The X3DNode[] to initialize.
-
setDisplacers
-
getMass
float getMass()Return the mass float value.- Returns:
- The mass float value.
-
setMass
void setMass(float val) Set the mass field.- Parameters:
val- The float to set.
-
getNumMomentsOfInertia
int getNumMomentsOfInertia()Return the number of MFFloat items in the momentsOfInertia field.- Returns:
- the number of MFFloat items in the momentsOfInertia field.
-
getMomentsOfInertia
void getMomentsOfInertia(float[] val) Return the momentsOfInertia value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setMomentsOfInertia
void setMomentsOfInertia(float[] val) Set the momentsOfInertia field.- Parameters:
val- The float[] to set.
-
getName
-
setName
-