public class SplineCurve2DROI
extends plugins.kernel.roi.roi2d.ROI2DPath
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_SNAKE_PARAMETERS |
| Constructor and Description |
|---|
SplineCurve2DROI()
Default constructor.
|
SplineCurve2DROI(SplineCurve splineCurve,
SplineCurveKeeper keeper)
Default.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changePosition(double[] xPosition,
double[] yPosition,
plugins.big.bigsnakeutils.icy.snake2D.Snake2DScale[] scales) |
java.awt.Rectangle |
computeBounds2D()
Gets the bounding rectangle of the first polyline of the spline curve.
|
boolean[] |
getAsBooleanMask(int x,
int y,
int w,
int h,
boolean inclusive)
Get the ROI as a boolean bitmap mask for the specified rectangular area.
|
java.awt.Color |
getColor()
Gets the color of the first polyline forming the skin of the snake.
|
java.awt.geom.Point2D |
getControlPoint(int i) |
void |
refreshROI() |
void |
refreshScales() |
boolean |
saveToXML(org.w3c.dom.Node node)
Saves a snake from an XML node.
|
void |
setEditable(boolean isEditable)
Sets the edit status of the ROI.
|
void |
setEditMode(SplineCurveEditMode editMode) |
void |
setSymmetric(boolean symmetric) |
addPoint, addPointAt, canRemovePoint, canTranslate, contains, contains, contains, contains, contains, getPathIterator, getPathIterator, getPoints, getShape, hasSelectedPoint, intersects, intersects, intersects, isOverEdge, onChanged, overlayChanged, painterChanged, positionChanged, removePointAt, removeSelectedPoint, setSelected, translatecanSetBounds, canSetPosition, computeBounds5D, computeNumberOfContourPoints, computeNumberOfPoints, contains, contains, getArea, 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, subtractaddListener, attachTo, beginUpdate, canvasToImageDeltaX, canvasToImageDeltaY, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaY, contains, contains, create, create, create, create, createFromXML, delete, delete, detachFrom, detachFromAll, detachFromAll, endUpdate, focusChanged, getAdjustedStroke, getAdjustedStroke, getBooleanMask2D, getBounds5D, getClassName, getCopy, getDisplayColor, getExclusiveUnion, getFirstSequence, getFocusedColor, getIcon, getId, getIntersection, getName, getNumberOfContourPoints, getNumberOfPoints, getOpacity, getOverlay, getPainter, getPosition5D, getROICount, getROIList, getROIList, getROIList, getROIsFromXML, getSelectedColor, getSequences, getSimpleClassName, getStroke, getSubtraction, getUnion, getVolume, internalFocus, internalSelect, internalUnfocus, internalUnselect, intersects, isAttached, isCreating, isEditable, isFocused, isReadOnly, isSelected, isUpdating, loadROIsFromXML, merge, nameChanged, painterChanged, propertyChanged, remove, remove, removeListener, roiChanged, roiChanged, saveROIsToXML, selectionChanged, setColor, setCreating, setFocused, setIcon, setMousePos, setName, setOpacity, setReadOnly, setROIsFromXML, setSelected, setSelectedColor, setStrokepublic static final java.lang.String ID_SNAKE_PARAMETERS
public SplineCurve2DROI()
public SplineCurve2DROI(SplineCurve splineCurve, SplineCurveKeeper keeper)
public void changePosition(double[] xPosition,
double[] yPosition,
plugins.big.bigsnakeutils.icy.snake2D.Snake2DScale[] scales)
public java.awt.geom.Point2D getControlPoint(int i)
public void refreshROI()
public void refreshScales()
public void setEditMode(SplineCurveEditMode editMode)
public void setSymmetric(boolean symmetric)
public java.awt.Rectangle computeBounds2D()
computeBounds2D in class plugins.kernel.roi.roi2d.ROI2DShapepublic boolean[] getAsBooleanMask(int x,
int y,
int w,
int h,
boolean inclusive)
getAsBooleanMask in class icy.roi.ROI2Dpublic java.awt.Color getColor()
getColor in class icy.roi.ROIpublic boolean saveToXML(org.w3c.dom.Node node)
saveToXML in interface icy.file.xml.XMLPersistentsaveToXML in class plugins.kernel.roi.roi2d.ROI2DPathpublic void setEditable(boolean isEditable)
setEditable in class icy.roi.ROI