Class SAITransform
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.grouping.SAITransform
- All Implemented Interfaces:
Transform,X3DBoundedObject,X3DChildNode,X3DGroupingNode,X3DNode
A concrete implementation of the Transform node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAITransform(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildren(X3DNode[] val) Set the addChildren field.voidgetBboxCenter(float[] val) Return the bboxCenter value in the argument float[]voidgetBboxSize(float[] val) Return the bboxSize value in the argument float[]voidgetCenter(float[] val) Return the center value in the argument float[]voidgetChildren(X3DNode[] val) Return the children value in the argument X3DNode[]intReturn the number of MFNode items in the children field.voidgetRotation(float[] val) Return the rotation value in the argument float[]voidgetScale(float[] val) Return the scale value in the argument float[]voidgetScaleOrientation(float[] val) Return the scaleOrientation value in the argument float[]voidgetTranslation(float[] val) Return the translation value in the argument float[]voidremoveChildren(X3DNode[] val) Set the removeChildren field.voidsetBboxCenter(float[] val) Set the bboxCenter field.voidsetBboxSize(float[] val) Set the bboxSize field.voidsetCenter(float[] val) Set the center field.voidsetChildren(X3DNode[] val) Set the children field.voidsetRotation(float[] val) Set the rotation field.voidsetScale(float[] val) Set the scale field.voidsetScaleOrientation(float[] val) Set the scaleOrientation field.voidsetTranslation(float[] val) Set the translation field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAITransform
public SAITransform(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
getNumChildren
public int getNumChildren()Return the number of MFNode items in the children field.- Specified by:
getNumChildrenin interfaceX3DGroupingNode- Returns:
- the number of MFNode items in the children field.
-
getChildren
Return the children value in the argument X3DNode[]- Specified by:
getChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to initialize.
-
setChildren
Set the children field.- Specified by:
setChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to set.
-
addChildren
Set the addChildren field.- Specified by:
addChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to set.
-
removeChildren
Set the removeChildren field.- Specified by:
removeChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to set.
-
getBboxCenter
public void getBboxCenter(float[] val) Return the bboxCenter value in the argument float[]- Specified by:
getBboxCenterin interfaceX3DBoundedObject- Parameters:
val- The float[] to initialize.
-
setBboxCenter
public void setBboxCenter(float[] val) Set the bboxCenter field.- Specified by:
setBboxCenterin interfaceX3DBoundedObject- Parameters:
val- The float[] to set.
-
getBboxSize
public void getBboxSize(float[] val) Return the bboxSize value in the argument float[]- Specified by:
getBboxSizein interfaceX3DBoundedObject- Parameters:
val- The float[] to initialize.
-
setBboxSize
public void setBboxSize(float[] val) Set the bboxSize field.- Specified by:
setBboxSizein interfaceX3DBoundedObject- Parameters:
val- The float[] to set.
-
getCenter
-
setCenter
-
getRotation
public void getRotation(float[] val) Return the rotation value in the argument float[]- Specified by:
getRotationin interfaceTransform- Parameters:
val- The float[] to initialize.
-
setRotation
public void setRotation(float[] val) Set the rotation field.- Specified by:
setRotationin interfaceTransform- Parameters:
val- The float[] to set.
-
getScale
-
setScale
-
getScaleOrientation
public void getScaleOrientation(float[] val) Return the scaleOrientation value in the argument float[]- Specified by:
getScaleOrientationin interfaceTransform- Parameters:
val- The float[] to initialize.
-
setScaleOrientation
public void setScaleOrientation(float[] val) Set the scaleOrientation field.- Specified by:
setScaleOrientationin interfaceTransform- Parameters:
val- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation value in the argument float[]- Specified by:
getTranslationin interfaceTransform- Parameters:
val- The float[] to initialize.
-
setTranslation
public void setTranslation(float[] val) Set the translation field.- Specified by:
setTranslationin interfaceTransform- Parameters:
val- The float[] to set.
-