Class SAIStaticGroup
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.grouping.SAIStaticGroup
- All Implemented Interfaces:
StaticGroup
,X3DBoundedObject
,X3DChildNode
,X3DNode
A concrete implementation of the StaticGroup node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIStaticGroup
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getBboxCenter
(float[] val) Return the bboxCenter value in the argument float[]void
getBboxSize
(float[] val) Return the bboxSize value in the argument float[]void
getChildren
(X3DNode[] val) Return the children value in the argument X3DNode[]int
Return the number of MFNode items in the children field.void
setBboxCenter
(float[] val) Set the bboxCenter field.void
setBboxSize
(float[] val) Set the bboxSize field.void
setChildren
(X3DNode[] val) Set the children field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIStaticGroup
public SAIStaticGroup(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getNumChildren
public int getNumChildren()Return the number of MFNode items in the children field.- Specified by:
getNumChildren
in interfaceStaticGroup
- Returns:
- the number of MFNode items in the children field.
-
getChildren
Return the children value in the argument X3DNode[]- Specified by:
getChildren
in interfaceStaticGroup
- Parameters:
val
- The X3DNode[] to initialize.
-
setChildren
Set the children field.- Specified by:
setChildren
in interfaceStaticGroup
- Parameters:
val
- The X3DNode[] 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.
-
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.
-