public abstract class AbstractTrackingTool extends AbstractTool implements MouseListener, MouseMotionListener, SliceListener
AbstractTool.KeyProxy, AbstractTool.KeyProxyIfNotConsumed, AbstractTool.MouseMotionProxy, AbstractTool.MouseMotionProxyIfNotConsumed, AbstractTool.MouseProxy, AbstractTool.MouseWheelProxy, AbstractTool.MouseWheelProxyIfNotConsumed, AbstractTool.ToolbarMouseAdapter
Modifier and Type | Field and Description |
---|---|
protected int |
activeHandle |
protected Cursor |
handCursor |
protected Map<ij.ImagePlus,Integer> |
latestCurrentSlice |
protected Map<ij.ImagePlus,Roi[]> |
map |
protected Cursor |
originalCursor |
clearToolsIfNecessary, ijKeyProxy, keyProxy, mouseMotionProxy, mouseProxy, mouseWheelProxy, savedToolName, sliceListener, sliceObservers, toolActive, toolbar, toolbarMouseListener, toolID, toolToggleListener
Constructor and Description |
---|
AbstractTrackingTool() |
Modifier and Type | Method and Description |
---|---|
void |
addIOButtons(GenericDialogPlus gd) |
protected void |
clearROIs() |
protected void |
exportToROIManager() |
protected void |
exportToROIManager(ij.ImagePlus image) |
protected int |
getHandle(Roi roi,
int x,
int y) |
protected String |
getROILabel(int slice,
int sliceCount,
Roi roi) |
protected Roi[] |
getRois(ij.ImagePlus image) |
String |
getToolIcon()
Return the string encoding of the tool icon as it will appear in the
toolbar.
|
protected void |
importFromROIManager() |
protected void |
loadROIs() |
protected void |
loadROIs(ij.ImagePlus image) |
protected void |
loadROIs(ij.ImagePlus image,
String path) |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
abstract Roi |
optimizeRoi(Roi roi,
ij.process.ImageProcessor ip) |
protected void |
saveROIs() |
protected void |
saveROIs(ij.ImagePlus image) |
protected void |
saveROIs(Roi[] rois,
String path) |
protected static void |
setRoi(ij.ImagePlus image,
Roi roi) |
void |
sliceChanged(ij.ImagePlus image) |
addKeyListener, addMouseMotionListener, addMouseWheelListener, getImageCanvas, getImagePlus, getImageWindow, getOffscreenX, getOffscreenXDouble, getOffscreenY, getOffscreenYDouble, getToolID, getToolName, imageClosed, imageOpened, imageUpdated, isThisTool, maybeUnregister, registerTool, registerTool, registerTool, run, unregisterTool, unregisterTool, unregisterTool, wasToolbarCleared, windowGainedFocus, windowLostFocus
protected Cursor originalCursor
protected Cursor handCursor
protected int activeHandle
public String getToolIcon()
AbstractTool
getToolIcon
in class AbstractTool
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void sliceChanged(ij.ImagePlus image)
sliceChanged
in interface SliceListener
protected int getHandle(Roi roi, int x, int y)
protected Roi[] getRois(ij.ImagePlus image)
protected static void setRoi(ij.ImagePlus image, Roi roi)
protected void exportToROIManager()
protected void exportToROIManager(ij.ImagePlus image)
protected void importFromROIManager()
protected void saveROIs()
protected void saveROIs(ij.ImagePlus image)
protected void loadROIs()
protected void loadROIs(ij.ImagePlus image)
protected void loadROIs(ij.ImagePlus image, String path)
protected void clearROIs()
public void addIOButtons(GenericDialogPlus gd)
Copyright © 2015–2021 Fiji. All rights reserved.