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,RigidBody,RigidBodyCollection,ScreenGroup,SegmentedVolumeData,Shape,SignalPdu,StaticGroup,Switch,Transform,TransmitterPdu,Viewport,VolumeData,X3DGroupingNode,X3DNBodyCollidableNode,X3DNBodyCollisionSpaceNode,X3DShapeNode,X3DViewportNode,X3DVolumeDataNode
- All Known Implementing Classes:
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,RigidBody,RigidBodyCollection,ScreenGroup,SegmentedVolumeData,Shape,SignalPdu,StaticGroup,Switch,Transform,TransmitterPdu,Viewport,VolumeData
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).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.booleanProvide boolean value from inputOutput SFBool field named bboxDisplay.float[]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.booleanProvide boolean value from inputOutput SFBool field named visible.setBboxCenter(float[] newValue) Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.setBboxDisplay(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named bboxDisplay.setBboxSize(float[] newValue) Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.setVisible(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).
-
getBboxDisplay
boolean getBboxDisplay()Provide boolean value from inputOutput SFBool field named bboxDisplay.- Returns:
- value of bboxDisplay field
-
setBboxDisplay
Accessor method to assign boolean value to inputOutput SFBool field named bboxDisplay.- Parameters:
newValue- is new value for the bboxDisplay 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).
-
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).
-