public class PointListShape extends BranchGroup implements PointList.PointListListener
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 |
---|
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, 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 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.PointListListener
PointList.PointListListener#added(BenesNamedPoint)
public void removed(BenesNamedPoint p)
removed
in interface PointList.PointListListener
PointList.PointListListener#removed(BenesNamedPoint)
public void renamed(BenesNamedPoint p)
renamed
in interface PointList.PointListListener
PointList.PointListListener#renamed(BenesNamedPoint)
public void moved(BenesNamedPoint p)
moved
in interface PointList.PointListListener
PointList.PointListListener#moved
public void reordered()
reordered
in interface PointList.PointListListener
PointList.PointListListener#reordered
public void highlighted(BenesNamedPoint p)
highlighted
in interface PointList.PointListListener
PointList.PointListListener#highlighted
public String toString()
toString
in class SceneGraphObject
Copyright © 2015–2021 Fiji. All rights reserved.