ICY Version 1.0.1.0
Classes | Public Member Functions | Protected Member Functions

icy.roi.ROI2D Class Reference

Inheritance diagram for icy.roi.ROI2D:
icy.roi.ROI icy.common.IcyChangedListener icy.file.xml.XMLPersistent icy.roi.ROI2DArea icy.roi.ROI2DShape icy.roi.ROI2DLine icy.roi.ROI2DPoint icy.roi.ROI2DPolygon icy.roi.ROI2DPolyLine icy.roi.ROI2DRectShape icy.roi.ROI2DEllipse icy.roi.ROI2DRectangle

List of all members.

Classes

class  ROI2DPainter

Public Member Functions

boolean isOver (IcyCanvas canvas, Point2D p)
abstract boolean isOver (IcyCanvas canvas, double x, double y)
boolean isOverPoint (IcyCanvas canvas, Point2D p)
abstract boolean isOverPoint (IcyCanvas canvas, double x, double y)
boolean contains (Point2D p)

Protected Member Functions

abstract boolean addPointAt (Point2D pos)
abstract boolean removePointAt (IcyCanvas canvas, Point2D imagePoint)
abstract boolean hasSelectedPoint ()

Detailed Description

Author:
Stephane

Member Function Documentation

abstract boolean icy.roi.ROI2D.addPointAt ( Point2D  pos) [protected, pure virtual]
boolean icy.roi.ROI2D.contains ( Point2D  p)

Tests if a specified Point2D is inside the ROI.

Parameters:
pthe specified Point2D to be tested
Returns:
true if the specified Point2D is inside the boundary of the ROI; false otherwise.

Reimplemented in icy.roi.ROI2DPolyLine, and icy.roi.ROI2DShape.

abstract boolean icy.roi.ROI2D.hasSelectedPoint ( ) [protected, pure virtual]

Return true if the ROI has a current selected

Implemented in icy.roi.ROI2DArea, and icy.roi.ROI2DShape.

boolean icy.roi.ROI2D.isOver ( IcyCanvas  canvas,
Point2D  p 
)

return true if specified point coordinates overlap the ROI
Edge overlap only, used for roi manipulation

abstract boolean icy.roi.ROI2D.isOver ( IcyCanvas  canvas,
double  x,
double  y 
) [pure virtual]

return true if specified point coordinates overlap the ROI
Edge overlap only, used for roi manipulation

Implemented in icy.roi.ROI2DArea, and icy.roi.ROI2DShape.

boolean icy.roi.ROI2D.isOverPoint ( IcyCanvas  canvas,
Point2D  p 
)

return true if specified point coordinates overlap a ROI (control) point
used for roi manipulation

abstract boolean icy.roi.ROI2D.isOverPoint ( IcyCanvas  canvas,
double  x,
double  y 
) [pure virtual]

return true if specified point coordinates overlap a ROI (control) point
used for roi manipulation

Implemented in icy.roi.ROI2DArea, and icy.roi.ROI2DShape.

abstract boolean icy.roi.ROI2D.removePointAt ( IcyCanvas  canvas,
Point2D  imagePoint 
) [protected, pure virtual]

Remove point at specified position (used to build ROI)

Implemented in icy.roi.ROI2DArea, and icy.roi.ROI2DShape.


The documentation for this class was generated from the following file:
 All Classes Functions Variables