Class InsertionPointHandle
java.lang.Object
java.awt.geom.Point2D
java.awt.Point
com.xinapse.multisliceimage.roi.Handle
com.xinapse.multisliceimage.roi.InsertionPointHandle
- All Implemented Interfaces:
Serializable, Cloneable
A Handle to indicate and move the insertion point for a RadialDivider. The handle also has a
little 'stick' to show the direction in which the segments will be assessed.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Point2D
Point2D.Double, Point2D.Float -
Field Summary
Fields inherited from class Handle
DESIGN_SIZE_LARGE, DESIGN_SIZE_SMALL, SIZE_LARGE, SIZE_SMALL -
Constructor Summary
ConstructorsConstructorDescriptionInsertionPointHandle(int x, int y, int slice, Point2D centreOfRotation) Creates a new InsertionPointHandle at the location (x,y), in screen pixels. -
Method Summary
Methods inherited from class Handle
getBorderColor, getColor, getSize, getSize, getSize, hashCode, pointOver, setBorderColor, setColor, setSizeMethods inherited from class Point
getLocation, getX, getY, move, setLocation, setLocation, setLocation, translateMethods inherited from class Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, setLocation
-
Constructor Details
-
InsertionPointHandle
Creates a new InsertionPointHandle at the location (x,y), in screen pixels.- Parameters:
x- the x location of the InsertionPointHandle in screen coords.y- the y location of the InsertionPointHandle in screen coords.slice- the image slice number on which the InsertionPointHandle is drawn.centreOfRotation- the point in window coordinates about which the ROIs will be rotated when using this handle. Used to assist in the drawing of the segment direction arrow.
-
-
Method Details
-
getSlice
public int getSlice()Returns the physical slice number to which this InsertionPointHandle applies.- Returns:
- the physical slice number of this InsertionPointHandle.
-
draw
-
equals
-
toString
-