Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.hanim
Interface HAnimSegment

All Superinterfaces:
X3DBoundedObject, X3DChildNode, X3DGroupingNode, X3DNode

public interface HAnimSegment
extends X3DGroupingNode

Defines the requirements of an X3D HAnimSegment node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void getCenterOfMass(float[] val)
          Return the centerOfMass value in the argument float[]
 X3DNode getCoord()
          Return the coord X3DNode value.
 void getDisplacers(X3DNode[] val)
          Return the displacers value in the argument X3DNode[]
 float getMass()
          Return the mass float value.
 void getMomentsOfInertia(float[] val)
          Return the momentsOfInertia value in the argument float[]
 java.lang.String getName()
          Return the name String value.
 int getNumDisplacers()
          Return the number of MFNode items in the displacers field.
 int getNumMomentsOfInertia()
          Return the number of MFFloat items in the momentsOfInertia field.
 void setCenterOfMass(float[] val)
          Set the centerOfMass field.
 void setCoord(X3DCoordinateNode val)
          Set the coord field.
 void setCoord(X3DProtoInstance val)
          Set the coord field.
 void setDisplacers(X3DNode[] val)
          Set the displacers field.
 void setMass(float val)
          Set the mass field.
 void setMomentsOfInertia(float[] val)
          Set the momentsOfInertia field.
 void setName(java.lang.String val)
          Set the name field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DGroupingNode
addChildren, getChildren, getNumChildren, removeChildren, setChildren
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 
Methods inherited from interface org.web3d.x3d.sai.X3DBoundedObject
getBboxCenter, getBboxSize, setBboxCenter, setBboxSize
 

Method Detail

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

X3DNode getCoord()
Return the coord X3DNode value.

Returns:
The coord X3DNode value.

setCoord

void setCoord(X3DCoordinateNode val)
Set the coord field.

Parameters:
val - The X3DCoordinateNode to set.

setCoord

void setCoord(X3DProtoInstance val)
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

void getDisplacers(X3DNode[] val)
Return the displacers value in the argument X3DNode[]

Parameters:
val - The X3DNode[] to initialize.

setDisplacers

void setDisplacers(X3DNode[] val)
Set the displacers field.

Parameters:
val - The X3DNode[] to set.

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

java.lang.String getName()
Return the name String value.

Returns:
The name String value.

setName

void setName(java.lang.String val)
Set the name field.

Parameters:
val - The String to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium