Package org.web3d.x3d.sai.Grouping
Interface X3DBoundedObject
- All Known Subinterfaces:
Anchor,Billboard,CADAssembly,CADFace,CADLayer,CADPart,CollidableOffset,CollidableShape,Collision,CollisionCollection,CollisionSpace,EspduTransform,GeoLocation,GeoLOD,GeoTransform,Group,HAnimHumanoid,HAnimJoint,HAnimSegment,HAnimSite,Inline,IsoSurfaceVolumeData,LayoutGroup,LOD,NurbsSet,ParticleSystem,PickableGroup,ReceiverPdu,ScreenGroup,SegmentedVolumeData,Shape,SignalPdu,StaticGroup,Switch,Transform,TransmitterPdu,Viewport,VolumeData,X3DGroupingNode,X3DNBodyCollidableNode,X3DNBodyCollisionSpaceNode,X3DShapeNode,X3DViewportNode,X3DVolumeDataNode
- All Known Implementing Classes:
AnchorObject,BillboardObject,CADAssemblyObject,CADFaceObject,CADLayerObject,CADPartObject,CollidableOffsetObject,CollidableShapeObject,CollisionCollectionObject,CollisionObject,CollisionSpaceObject,EspduTransformObject,GeoLocationObject,GeoLODObject,GeoTransformObject,GroupObject,HAnimHumanoidObject,HAnimJointObject,HAnimSegmentObject,HAnimSiteObject,InlineObject,IsoSurfaceVolumeDataObject,LayoutGroupObject,LODObject,NurbsSetObject,ParticleSystemObject,PickableGroupObject,ReceiverPduObject,ScreenGroupObject,SegmentedVolumeDataObject,ShapeObject,SignalPduObject,StaticGroupObject,SwitchObject,TransformObject,TransmitterPduObject,ViewportObject,VolumeDataObject
public interface X3DBoundedObject
X3DBoundedObject indicates that bounding box values can be provided (or computed) to encompass this node and any children.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description float[]getBboxCenter()Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.float[]getBboxSize()Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.booleangetDisplayBBox()Provide boolean value from inputOutput SFBool field named displayBBox.booleangetVisible()Provide boolean value from inputOutput SFBool field named visible.X3DBoundedObjectsetBboxCenter(float[] newValue)Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.X3DBoundedObjectsetBboxSize(float[] newValue)Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.X3DBoundedObjectsetDisplayBBox(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named displayBBox.X3DBoundedObjectsetVisible(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named visible.
-
Method Details
-
getBboxCenter
float[] getBboxCenter()Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.- Returns:
- value of bboxCenter field
-
setBboxCenter
Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.- Parameters:
newValue- is new value for the bboxCenter field.- Returns:
X3DBoundedObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getBboxSize
float[] getBboxSize()Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.- Returns:
- value of bboxSize field
-
setBboxSize
Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.- Parameters:
newValue- is new value for the bboxSize field.- Returns:
X3DBoundedObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDisplayBBox
boolean getDisplayBBox()Provide boolean value from inputOutput SFBool field named displayBBox.- Returns:
- value of displayBBox field
-
setDisplayBBox
Accessor method to assign boolean value to inputOutput SFBool field named displayBBox.- Parameters:
newValue- is new value for the displayBBox field.- Returns:
X3DBoundedObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVisible
boolean getVisible()Provide boolean value from inputOutput SFBool field named visible.- Returns:
- value of visible field
-
setVisible
Accessor method to assign boolean value to inputOutput SFBool field named visible.- Parameters:
newValue- is new value for the visible field.- Returns:
X3DBoundedObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-