|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.gui.Roi ij.gui.PolygonRoi ij.gui.PointRoi
public class PointRoi
This class represents selection consisting of one or more points.
Field Summary |
---|
Fields inherited from class ij.gui.PolygonRoi |
---|
maxPoints, nPoints, splinePoints, xp, xp2, xScreenSpline, xSpline, yp, yp2, yScreenSpline, ySpline |
Fields inherited from class ij.gui.Roi |
---|
ANGLE, cachedMask, center, clipboard, clipHeight, clipWidth, clipX, clipY, COMPOSITE, constrain, CONSTRUCTING, FREELINE, FREEROI, HANDLE_SIZE, ic, imp, LINE, mag, MOVING, MOVING_HANDLE, name, NORMAL, NOT_PASTING, oldHeight, oldWidth, oldX, oldY, OVAL, pasteMode, POINT, POLYGON, POLYLINE, previousRoi, RECTANGLE, RESIZING, ROIColor, TRACED_ROI, type, updateFullWindow, xMax, yMax |
Constructor Summary | |
---|---|
PointRoi(int[] ox,
int[] oy,
int points)
Creates a new PointRoi using the specified offscreen coordinates. |
|
PointRoi(int sx,
int sy,
ImagePlus imp)
Creates a new PointRoi using the specified offscreen coordinates. |
Method Summary | |
---|---|
PointRoi |
addPoint(int x,
int y)
Adds a point to this selection and return the result. |
void |
draw(java.awt.Graphics g)
Draws the points on the image. |
void |
drawPixels(ImageProcessor ip)
|
ImageProcessor |
getMask()
Override Roi.nudge() to support splines. |
protected void |
handleMouseUp(int sx,
int sy)
|
PointRoi |
subtractPoints(Roi roi)
Subtract the points that intersect the specified ROI and return the result. |
Methods inherited from class ij.gui.PolygonRoi |
---|
addOffset, clone, contains, fitSpline, getAngle, getFeretsDiameter, getLength, getNCoordinates, getPolygon, getXCoordinates, getYCoordinates, grow, isHandle, mouseDownInHandle, moveHandle, updatePolygon |
Methods inherited from class ij.gui.Roi |
---|
abortPaste, addOrSubtract, drawPixels, endPaste, getAngle, getBoundingRect, getBounds, getColor, getCurrentPasteMode, getName, getPasteMode, getState, getType, getTypeAsString, handleMouseDown, handleMouseDrag, isArea, isLine, isVisible, nudge, nudgeCorner, setColor, setImage, setLocation, setName, setPasteMode, showStatus, startPaste, toString, updateClipRect |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PointRoi(int[] ox, int[] oy, int points)
public PointRoi(int sx, int sy, ImagePlus imp)
Method Detail |
---|
protected void handleMouseUp(int sx, int sy)
handleMouseUp
in class PolygonRoi
public void draw(java.awt.Graphics g)
draw
in class PolygonRoi
public void drawPixels(ImageProcessor ip)
drawPixels
in class PolygonRoi
public PointRoi addPoint(int x, int y)
public PointRoi subtractPoints(Roi roi)
public ImageProcessor getMask()
PolygonRoi
getMask
in class PolygonRoi
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |