Package org.xj3d.sai.internal.node.shape
Class SAIShape
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.shape.SAIShape
- All Implemented Interfaces:
Shape,X3DBoundedObject,X3DChildNode,X3DNode,X3DShapeNode
A concrete implementation of the Shape node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIShape(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the appearance X3DNode value.voidgetBboxCenter(float[] val) Return the bboxCenter value in the argument float[]voidgetBboxSize(float[] val) Return the bboxSize value in the argument float[]Return the geometry X3DNode value.voidSet the appearance field.voidSet the appearance field.voidsetBboxCenter(float[] val) Set the bboxCenter field.voidsetBboxSize(float[] val) Set the bboxSize field.voidSet the geometry field.voidSet the geometry field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIShape
public SAIShape(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getAppearance
Return the appearance X3DNode value.- Specified by:
getAppearancein interfaceX3DShapeNode- Returns:
- The appearance X3DNode value.
-
setAppearance
Set the appearance field.- Specified by:
setAppearancein interfaceX3DShapeNode- Parameters:
val- The X3DAppearanceNode to set.
-
setAppearance
Set the appearance field.- Specified by:
setAppearancein interfaceX3DShapeNode- Parameters:
val- The X3DProtoInstance to set.
-
getGeometry
Return the geometry X3DNode value.- Specified by:
getGeometryin interfaceX3DShapeNode- Returns:
- The geometry X3DNode value.
-
setGeometry
Set the geometry field.- Specified by:
setGeometryin interfaceX3DShapeNode- Parameters:
val- The X3DGeometryNode to set.
-
setGeometry
Set the geometry field.- Specified by:
setGeometryin interfaceX3DShapeNode- Parameters:
val- The X3DProtoInstance 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.
-
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.
-