Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLBoundedNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType
All Known Subinterfaces:
VRMLGroupingNodeType, VRMLInlineNodeType, VRMLNBodyCollidableNodeType, VRMLNBodySpaceNodeType, VRMLParticleSystemNodeType
All Known Implementing Classes:
BaseGroupingNode

public interface VRMLBoundedNodeType
extends VRMLChildNodeType

Indicates that a node contains a bounding box field.

Version:
$Revision: 1.9 $
Author:
Alan Hudson

Method Summary
 float[] getBboxCenter()
          Get the current value of field the bboxCenter field.
 float[] getBboxSize()
          Get the current value of the bboxSize field.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 

Method Detail

getBboxCenter

public float[] getBboxCenter()
Get the current value of field the bboxCenter field. The default value is 0 0 0.

Returns:
The value of bboxCenter(SFVec3f)

getBboxSize

public float[] getBboxSize()
Get the current value of the bboxSize field. The default value is -1 -1 -1.

Returns:
The size of the bounding box(SFVec3f)

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium