public class ROI2DPoint extends ROI2DShape
Modifier and Type | Class and Description |
---|---|
class |
ROI2DPoint.ROI2DPointPainter |
ROI2DShape.ROI2DShapePainter
ROI2D.ROI2DPainter
ROI.ROIIdComparator, ROI.ROINameComparator, ROI.ROIPainter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_POSITION |
DEFAULT_COLOR, DEFAULT_NORMAL_COLOR, DEFAULT_OPACITY, DEFAULT_STROKE, ID_CLASSNAME, ID_COLOR, ID_ID, ID_NAME, ID_OPACITY, ID_READONLY, ID_ROI, ID_SELECTED, ID_SHOWNAME, ID_STROKE, idComparator, nameComparator, PROPERTY_COLOR, PROPERTY_CREATING, PROPERTY_ICON, PROPERTY_NAME, PROPERTY_OPACITY, PROPERTY_READONLY, PROPERTY_SHOWNAME, PROPERTY_STROKE
Constructor and Description |
---|
ROI2DPoint() |
ROI2DPoint(double x,
double y) |
ROI2DPoint(java.awt.geom.Point2D position) |
ROI2DPoint(java.awt.geom.Point2D pt,
boolean cm)
Deprecated.
|
ROI2DPoint(Point5D pt)
Generic constructor for interactive mode
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAddPoint()
Return true if this ROI support adding new point
|
double |
computeNumberOfContourPoints()
Generic implementation for ROI2D using the BooleanMask object so the result is just an
approximation.
|
double |
computeNumberOfPoints()
Generic implementation for ROI2D using the BooleanMask object so the result is just an
approximation.
|
java.awt.geom.Line2D |
getLine() |
java.awt.geom.Point2D |
getPoint() |
java.awt.geom.Rectangle2D |
getRectangle()
Deprecated.
Use
getLine() instead. |
boolean |
loadFromXML(org.w3c.dom.Node node)
LOAD
|
boolean |
saveToXML(org.w3c.dom.Node node)
SAVE
|
addNewPoint, addPoint, addPoint, addPointAt, canRemovePoint, canTranslate, computeBounds2D, contains, contains, contains, contains, contains, controlPointOverlayChanged, controlPointPositionChanged, getControlPoints, getPathIterator, getPathIterator, getPoints, getShape, hasSelectedPoint, intersects, intersects, intersects, isOverEdge, onChanged, painterChanged, removePoint, removePointAt, removeSelectedPoint, setSelected, translate
canSetBounds, canSetPosition, computeBounds5D, contains, contains, getArea, getAsBooleanMask, getAsBooleanMask, getAsBooleanMask, getAsBooleanMask, getAsBooleanMask, getAsBooleanMask, getBooleanMask, getBooleanMask, getBooleanMask, getBooleanMask, getBooleanMask, getBooleanMask, getBooleanMask2D, getBooleanMask2D, getBounds, getBounds2D, getC, getDimension, getPerimeter, getPosition, getPosition2D, getROI2DList, getROI2DList, getROI2DList, getT, getZ, intersects, isActiveFor, isActiveFor, isOver, isOver, isOverEdge, isOverEdge, isOverEdge, merge, setBounds2D, setBounds5D, setC, setPosition, setPosition2D, setPosition5D, setT, setZ, substract, subtract
addListener, attachTo, beginUpdate, canvasToImageDeltaX, canvasToImageDeltaY, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaY, contains, contains, copyFrom, create, create, create, create, createFromXML, delete, delete, detachFrom, detachFromAll, detachFromAll, endUpdate, focusChanged, getAdjustedStroke, getAdjustedStroke, getBooleanMask2D, getBounds5D, getClassName, getColor, getCopy, getDisplayColor, getExclusiveUnion, getFirstSequence, getFocusedColor, getIcon, getId, getIntersection, getName, getNumberOfContourPoints, getNumberOfPoints, getOpacity, getOverlay, getPainter, getPosition5D, getPropertyValue, getROICount, getROIList, getROIList, getROIList, getROIsFromXML, getSelectedColor, getSequences, getShowName, getSimpleClassName, getStroke, getSubtraction, getUnion, getVolume, internalFocus, internalSelect, internalUnfocus, internalUnselect, intersects, isAttached, isCreating, isEditable, isFocused, isReadOnly, isSelected, isUpdating, loadFromXML, loadROIsFromXML, merge, nameChanged, painterChanged, propertyChanged, remove, remove, removeListener, roiChanged, roiChanged, saveROIsToXML, selectionChanged, setColor, setCreating, setEditable, setFocused, setIcon, setMousePos, setName, setOpacity, setPropertyValue, setReadOnly, setROIsFromXML, setSelected, setSelectedColor, setShowName, setStroke
public static final java.lang.String ID_POSITION
@Deprecated public ROI2DPoint(java.awt.geom.Point2D pt, boolean cm)
public ROI2DPoint(java.awt.geom.Point2D position)
public ROI2DPoint(Point5D pt)
public ROI2DPoint(double x, double y)
public ROI2DPoint()
@Deprecated public java.awt.geom.Rectangle2D getRectangle()
getLine()
instead.public java.awt.geom.Line2D getLine()
public java.awt.geom.Point2D getPoint()
public boolean canAddPoint()
ROI2DShape
canAddPoint
in class ROI2DShape
public double computeNumberOfContourPoints()
ROI2D
computeNumberOfContourPoints
in class ROI2D
public double computeNumberOfPoints()
ROI2D
computeNumberOfPoints
in class ROI2D
public boolean loadFromXML(org.w3c.dom.Node node)
XMLPersistent
loadFromXML
in interface XMLPersistent
loadFromXML
in class ROI2D
public boolean saveToXML(org.w3c.dom.Node node)
XMLPersistent
saveToXML
in interface XMLPersistent
saveToXML
in class ROI2D