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.void
getBboxCenter
(float[] val) Return the bboxCenter value in the argument float[]void
getBboxSize
(float[] val) Return the bboxSize value in the argument float[]Return the geometry X3DNode value.void
Set the appearance field.void
Set the appearance field.void
setBboxCenter
(float[] val) Set the bboxCenter field.void
setBboxSize
(float[] val) Set the bboxSize field.void
Set the geometry field.void
Set 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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getAppearance
in interfaceX3DShapeNode
- Returns:
- The appearance X3DNode value.
-
setAppearance
Set the appearance field.- Specified by:
setAppearance
in interfaceX3DShapeNode
- Parameters:
val
- The X3DAppearanceNode to set.
-
setAppearance
Set the appearance field.- Specified by:
setAppearance
in interfaceX3DShapeNode
- Parameters:
val
- The X3DProtoInstance to set.
-
getGeometry
Return the geometry X3DNode value.- Specified by:
getGeometry
in interfaceX3DShapeNode
- Returns:
- The geometry X3DNode value.
-
setGeometry
Set the geometry field.- Specified by:
setGeometry
in interfaceX3DShapeNode
- Parameters:
val
- The X3DGeometryNode to set.
-
setGeometry
Set the geometry field.- Specified by:
setGeometry
in interfaceX3DShapeNode
- Parameters:
val
- The X3DProtoInstance to set.
-
getBboxSize
public void getBboxSize(float[] val) Return the bboxSize value in the argument float[]- Specified by:
getBboxSize
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to initialize.
-
setBboxSize
public void setBboxSize(float[] val) Set the bboxSize field.- Specified by:
setBboxSize
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to set.
-
getBboxCenter
public void getBboxCenter(float[] val) Return the bboxCenter value in the argument float[]- Specified by:
getBboxCenter
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to initialize.
-
setBboxCenter
public void setBboxCenter(float[] val) Set the bboxCenter field.- Specified by:
setBboxCenter
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to set.
-