|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.gui.AbstractRoi
public abstract class AbstractRoi
Title:
Description:
Copyright: Copyright (c) 2011
Company:
Field Summary |
---|
Fields inherited from interface ij.gui.RoiConstance |
---|
ADD_TO_ROI, ANGLE, COMPOSITE, CONSTRUCTING, FREELINE, FREEROI, HANDLE_SIZE, LINE, MOVING, MOVING_HANDLE, NO_MODS, NORMAL, NOT_PASTING, OVAL, POINT, POLYGON, POLYLINE, RECTANGLE, RESIZING, SUBTRACT_FROM_ROI, TRACED_ROI |
Constructor Summary | |
---|---|
AbstractRoi()
|
Method Summary | |
---|---|
protected abstract int |
clipRectMargin()
|
java.lang.Object |
clone()
Returns a copy of this roi. |
static java.awt.Color |
getColor()
Returns the default (global) color used for drawing ROI outlines. |
static int |
getCurrentPasteMode()
Returns the current paste transfer mode. |
static java.awt.Color |
getDefaultFillColor()
|
protected abstract double |
getMagnification()
|
protected abstract java.awt.BasicStroke |
getScaledStroke()
|
protected abstract void |
grow(int sx,
int sy)
|
protected abstract void |
handleMouseDown(int sx,
int sy)
|
protected abstract void |
handleMouseDrag(int sx,
int sy,
int flags)
|
protected abstract void |
handleMouseUp(int screenX,
int screenY)
|
protected abstract void |
mouseDownInHandle(int handle,
int sx,
int sy)
|
protected abstract void |
moveHandle(int sx,
int sy)
|
protected abstract int |
screenX(int ox)
|
protected abstract int |
screenXD(double ox)
|
protected abstract int |
screenY(int oy)
|
protected abstract int |
screenYD(double oy)
|
static void |
setColor(java.awt.Color c)
Sets the default (global) color used for ROI outlines. |
static void |
setDefaultFillColor(java.awt.Color color)
Sets the color used by this ROI to draw its outline. |
static void |
setPasteMode(int transferMode)
Sets the Paste transfer mode. |
protected abstract void |
showStatus()
|
static float[] |
toFloat(int[] arr)
Converts an int array to a float array. |
static int[] |
toInt(float[] arr)
Converts a float array to an int array using truncation. |
static int[] |
toInt(float[] arr,
int[] arr2,
int size)
|
static int[] |
toIntR(float[] arr)
Converts a float array to an int array using rounding. |
protected abstract void |
updateClipRect()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRoi()
Method Detail |
---|
protected abstract void grow(int sx, int sy)
protected abstract void moveHandle(int sx, int sy)
protected abstract void updateClipRect()
protected abstract int clipRectMargin()
protected abstract void handleMouseDrag(int sx, int sy, int flags)
protected abstract void mouseDownInHandle(int handle, int sx, int sy)
protected abstract void handleMouseDown(int sx, int sy)
protected abstract void handleMouseUp(int screenX, int screenY)
protected abstract void showStatus()
public static void setColor(java.awt.Color c)
getColor()
,
RoiBeans.setStrokeColor(Color)
public static java.awt.Color getColor()
setColor(Color)
,
RoiBeans.getStrokeColor()
public static void setDefaultFillColor(java.awt.Color color)
RoiBeans.getStrokeColor()
,
#setStrokeWidth(int)
,
ImagePlus.setOverlay(ij.gui.Overlay)
public static java.awt.Color getDefaultFillColor()
protected abstract java.awt.BasicStroke getScaledStroke()
public static void setPasteMode(int transferMode)
Blitter
public static int getCurrentPasteMode()
protected abstract double getMagnification()
public java.lang.Object clone()
clone
in class java.lang.Object
protected abstract int screenX(int ox)
protected abstract int screenY(int oy)
protected abstract int screenXD(double ox)
protected abstract int screenYD(double oy)
public static int[] toInt(float[] arr)
public static int[] toInt(float[] arr, int[] arr2, int size)
public static int[] toIntR(float[] arr)
public static float[] toFloat(int[] arr)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |