|
ICY Version 1.0.1.0
|
Classes | |
| class | Point3D |
| class | Poly3D |
| class | ROI2DShapePainter |
Public Member Functions | |
| ROI2DShape (Shape shape) | |
| Shape | getShape () |
| void | setSelected (boolean value, boolean exclusive) |
| boolean | isOver (IcyCanvas canvas, double x, double y) |
| boolean | isOverPoint (IcyCanvas canvas, double x, double y) |
| PathIterator | getPathIterator (AffineTransform at) |
| PathIterator | getPathIterator (AffineTransform at, double flatness) |
| boolean | contains (Point2D p) |
| boolean | contains (Rectangle2D r) |
| boolean | contains (double x, double y) |
| boolean | contains (double x, double y, double w, double h) |
| Rectangle | getBounds () |
| Rectangle2D | getBounds2D () |
| boolean | intersects (Rectangle2D r) |
| boolean | intersects (double x, double y, double w, double h) |
| boolean[] | getAsBooleanMask (int x, int y, int w, int h) |
| void | translate (double dx, double dy) |
| void | positionChanged (Anchor2D source) |
| void | painterChanged (PainterEvent event) |
| void | onChanged (EventHierarchicalChecker object) |
Protected Member Functions | |
| ROI2DShapePainter | createPainter () |
| abstract void | updateShape () |
| Anchor2D | getSelectedControlPoint () |
| boolean | hasSelectedPoint () |
| boolean | addPoint (Anchor2D pt) |
| boolean | addPointAt (Point2D pos) |
| boolean | removePoint (Anchor2D pt) |
| void | removeAllPoint () |
| boolean | removePointAt (IcyCanvas canvas, Point2D imagePoint) |
| boolean | removeSelectedPoint (IcyCanvas canvas, Point2D imagePoint) |
| boolean | selectPointAt (IcyCanvas canvas, Point2D imagePoint) |
Protected Attributes | |
| final Shape | shape |
| final ArrayList< Anchor2D > | controlPoints |
Package Functions | |
| void | init (vtkRenderer renderer) |
| ArrayList< Point2D > | getControlPointsPosition () |
Package Attributes | |
| boolean | initialized = false |
| vtkPolyData | polyData = null |
| boolean icy.roi.ROI2DShape.addPointAt | ( | Point2D | pos | ) | [protected, virtual] |
Add a new point to specified position and select it
Implements icy.roi.ROI2D.
Reimplemented in icy.roi.ROI2DLine, icy.roi.ROI2DPoint, icy.roi.ROI2DPolygon, icy.roi.ROI2DPolyLine, and icy.roi.ROI2DRectShape.
| boolean icy.roi.ROI2DShape.contains | ( | Point2D | p | ) |
Tests if a specified Point2D is inside the ROI.
| p | the specified Point2D to be tested |
true if the specified Point2D is inside the boundary of the ROI; false otherwise. Reimplemented from icy.roi.ROI2D.
Reimplemented in icy.roi.ROI2DPolyLine.
| Shape icy.roi.ROI2DShape.getShape | ( | ) |
| boolean icy.roi.ROI2DShape.hasSelectedPoint | ( | ) | [protected, virtual] |
Return true if the ROI has a current selected
Implements icy.roi.ROI2D.
| void icy.roi.ROI2DShape.init | ( | vtkRenderer | renderer | ) | [package] |
init 3D
| renderer |
| boolean icy.roi.ROI2DShape.isOver | ( | IcyCanvas | canvas, |
| double | x, | ||
| double | y | ||
| ) | [virtual] |
return true if specified point coordinates overlap the ROI (without control point)
Implements icy.roi.ROI2D.
| boolean icy.roi.ROI2DShape.isOverPoint | ( | IcyCanvas | canvas, |
| double | x, | ||
| double | y | ||
| ) | [virtual] |
return true if specified point coordinates overlap a ROI (control) point
used for roi manipulation
Implements icy.roi.ROI2D.
| void icy.roi.ROI2DShape.onChanged | ( | EventHierarchicalChecker | object | ) |
fire changed event
Reimplemented from icy.roi.ROI.
| boolean icy.roi.ROI2DShape.removePointAt | ( | IcyCanvas | canvas, |
| Point2D | imagePoint | ||
| ) | [protected, virtual] |
Remove point at specified position (used to build ROI)
Implements icy.roi.ROI2D.
| void icy.roi.ROI2DShape.setSelected | ( | boolean | value, |
| boolean | exclusive | ||
| ) |
| value | the selected to set |
| exclusive | exclusive selection (only one selected ROI per sequence) |
Reimplemented from icy.roi.ROI.
final ArrayList<Anchor2D> icy.roi.ROI2DShape.controlPoints [protected] |
control points
final Shape icy.roi.ROI2DShape.shape [protected] |
ROI shape (in image coordinates)
1.7.3