public class BoundingSphere extends BranchGroup
ALLOW_DETACH
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
Constructor and Description |
---|
BoundingSphere(Point3f center,
float radius) |
BoundingSphere(Point3f center,
float radius,
Color3f color) |
BoundingSphere(Point3f center,
float radius,
Color3f color,
float transparency) |
Modifier and Type | Method and Description |
---|---|
void |
getTransform(Transform3D transform) |
void |
getTransformInverse(Transform3D transform) |
void |
setCenter(Point3f center) |
void |
setRadius(float radius) |
String |
toString() |
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosest
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, updateNodeReferences
public BoundingSphere(Point3f center, float radius)
public void setRadius(float radius)
public void setCenter(Point3f center)
public void getTransform(Transform3D transform)
public void getTransformInverse(Transform3D transform)
public String toString()
toString
in class SceneGraphObject
Copyright © 2015–2021 Fiji. All rights reserved.