| javax.media.j3d.BranchGroup org.jdesktop.j3dedit.scenegrapheditor.visualtools.PointHighlightControl
PointHighlightControl | public class PointHighlightControl extends BranchGroup implements org.jdesktop.j3dfly.event.FlyEventListener(Code) | | Provides a visual representation for a set of points in 3 space
Default is a wire frame cube centered on the point
The points can be manipulated in two ways, either through calling methods
in PointHighlightControl, or by calling methods in the points themselves
(PointHightlight). Calling the methods in PointHighlight will call the
relevant PointSelectionListener methods. Calling PointHighlightControl
methods will not notify the listener.
author: Paul Byrne version: 1.11, 01/18/02 |
Inner Class :final public class PointHighlight extends BranchGroup | |
addPoint | public void addPoint(Point3f point)(Code) | | Add a point to the set of points displayed
|
clear | public void clear()(Code) | | Remove all points
|
deselectPoint | public void deselectPoint(int index)(Code) | | |
getPointCount | public int getPointCount()(Code) | | Get the number of points
|
insertPoint | public void insertPoint(int index, Point3f point)(Code) | | Insert a point into the set of points displayed
|
movePoint | public void movePoint(int index, Point3f newPos)(Code) | | Change the position of the point with the specified index
|
newPointScaleEvent | public static PointScaleEvent newPointScaleEvent(float scale)(Code) | | |
processFlyEvent | public void processFlyEvent(org.jdesktop.j3dfly.event.FlyEvent evt)(Code) | | Called by EventProcessor when an event occurs for which this
listener has registered interest
TODO remove once we have scale invariant OrientedShape3D
|
removePoint | public void removePoint(Point3f point)(Code) | | Remove the point from the set of points displayed
NOT IMPLEMENTED
|
selectPoint | public void selectPoint(int index)(Code) | | |
setPointSize | public void setPointSize(float size)(Code) | | Sets the size of the points
|
setTarget | public void setTarget(TransformGroup target)(Code) | | Set the Target for this interpolator
This is used to extract the LocalToVworld transform for the target
so the points can be positioned correctly
|
Fields inherited from javax.media.j3d.BranchGroup | final public static int ALLOW_DETACH(Code)(Java Doc)
|
|
|