public class PointListShape extends BranchGroup implements PointList.PointListListener
ALLOW_DETACHALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITEALLOW_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 |
|---|
PointListShape(PointList points)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
added(BenesNamedPoint p) |
Color3f |
getColor() |
float |
getRadius()
Returns the radius of the points.
|
void |
highlighted(BenesNamedPoint p) |
void |
moved(BenesNamedPoint p) |
void |
removed(BenesNamedPoint p) |
void |
renamed(BenesNamedPoint p) |
void |
reordered() |
void |
setColor(Color3f c)
Set the color of the points.
|
void |
setPointList(PointList pl)
Set the PointList which is represented by this PointListShape.
|
void |
setRadius(float r)
Set the radius of the points.
|
String |
toString()
Returns a string representation of the underlying PointList.
|
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosestaddChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBoundscloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, updateNodeReferencespublic PointListShape(PointList points)
points - public void setPointList(PointList pl)
pl - public float getRadius()
public void setRadius(float r)
r - public void setColor(Color3f c)
c - public Color3f getColor()
public void added(BenesNamedPoint p)
added in interface PointList.PointListListenerPointList.PointListListener#added(BenesNamedPoint)public void removed(BenesNamedPoint p)
removed in interface PointList.PointListListenerPointList.PointListListener#removed(BenesNamedPoint)public void renamed(BenesNamedPoint p)
renamed in interface PointList.PointListListenerPointList.PointListListener#renamed(BenesNamedPoint)public void moved(BenesNamedPoint p)
moved in interface PointList.PointListListenerPointList.PointListListener#movedpublic void reordered()
reordered in interface PointList.PointListListenerPointList.PointListListener#reorderedpublic void highlighted(BenesNamedPoint p)
highlighted in interface PointList.PointListListenerPointList.PointListListener#highlightedpublic String toString()
toString in class SceneGraphObjectCopyright © 2015–2021 Fiji. All rights reserved.