Class SAICollidableOffset
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.rigidbodyphysics.SAICollidableOffset
- All Implemented Interfaces:
CollidableOffset,X3DBoundedObject,X3DChildNode,X3DNBodyCollidableNode,X3DNode
A concrete implementation of the CollidableOffset node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAICollidableOffset(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBboxCenter(float[] val) Return the bboxCenter value in the argument float[]voidgetBboxSize(float[] val) Return the bboxSize value in the argument float[]Return the collidable X3DNode value.booleanReturn the enabled boolean value.voidgetRotation(float[] val) Return the rotation value in the argument float[]voidgetTranslation(float[] val) Return the translation value in the argument float[]voidsetBboxCenter(float[] val) Set the bboxCenter field.voidsetBboxSize(float[] val) Set the bboxSize field.voidSet the collidable field.voidSet the collidable field.voidsetEnabled(boolean val) Set the enabled field.voidsetRotation(float[] val) Set the rotation 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
-
SAICollidableOffset
public SAICollidableOffset(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
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.
-
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.
-
getEnabled
public boolean getEnabled()Return the enabled boolean value.- Specified by:
getEnabledin interfaceX3DNBodyCollidableNode- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabledin interfaceX3DNBodyCollidableNode- Parameters:
val- The boolean to set.
-
getRotation
public void getRotation(float[] val) Return the rotation value in the argument float[]- Specified by:
getRotationin interfaceX3DNBodyCollidableNode- Parameters:
val- The float[] to initialize.
-
setRotation
public void setRotation(float[] val) Set the rotation field.- Specified by:
setRotationin interfaceX3DNBodyCollidableNode- Parameters:
val- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation value in the argument float[]- Specified by:
getTranslationin interfaceX3DNBodyCollidableNode- Parameters:
val- The float[] to initialize.
-
setTranslation
public void setTranslation(float[] val) Set the translation field.- Specified by:
setTranslationin interfaceX3DNBodyCollidableNode- Parameters:
val- The float[] to set.
-
getCollidable
Return the collidable X3DNode value.- Specified by:
getCollidablein interfaceCollidableOffset- Returns:
- The collidable X3DNode value.
-
setCollidable
Set the collidable field.- Specified by:
setCollidablein interfaceCollidableOffset- Parameters:
val- The X3DNBodyCollidableNode to set.
-
setCollidable
Set the collidable field.- Specified by:
setCollidablein interfaceCollidableOffset- Parameters:
val- The X3DProtoInstance to set.
-