public abstract class InteractiveMapping extends Object implements ij.plugin.PlugIn, MouseListener, MouseMotionListener, KeyListener, ij.ImageListener
Modifier and Type | Field and Description |
---|---|
protected PointRoi |
handles |
protected ArrayList<Point> |
hooks |
protected ij.ImagePlus |
imp |
protected static boolean |
interpolate |
protected ArrayList<PointMatch> |
m |
protected Mapping<?> |
mapping |
protected Point[] |
p |
protected MappingThread |
painter |
protected AtomicBoolean |
pleaseRepaint |
protected Point[] |
q |
protected static boolean |
showIllustration |
protected static boolean |
showPreview |
protected ij.process.ImageProcessor |
source |
protected ij.process.ImageProcessor |
target |
protected int |
targetIndex |
Constructor and Description |
---|
InteractiveMapping() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addHandle(int x,
int y) |
protected abstract void |
createMapping() |
void |
imageClosed(ij.ImagePlus impl) |
void |
imageOpened(ij.ImagePlus impl) |
void |
imageUpdated(ij.ImagePlus impl) |
void |
init() |
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
static String |
modifiers(int flags) |
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) |
void |
run(String arg) |
protected abstract void |
updateHandles(int x,
int y) |
protected abstract void |
updateIllustration() |
protected abstract void |
updateMapping() |
protected void |
updateRoi() |
protected ij.ImagePlus imp
protected ij.process.ImageProcessor target
protected ij.process.ImageProcessor source
protected Point[] p
protected Point[] q
protected final ArrayList<PointMatch> m
protected PointRoi handles
protected Mapping<?> mapping
protected MappingThread painter
protected final AtomicBoolean pleaseRepaint
protected static boolean showIllustration
protected static boolean showPreview
protected int targetIndex
protected static boolean interpolate
protected abstract void updateHandles(int x, int y)
public void init()
protected abstract void createMapping()
protected abstract void updateMapping() throws NotEnoughDataPointsException, IllDefinedDataPointsException
protected abstract void addHandle(int x, int y)
protected abstract void updateIllustration()
public void run(String arg)
run
in interface ij.plugin.PlugIn
protected final void updateRoi()
public void imageClosed(ij.ImagePlus impl)
imageClosed
in interface ij.ImageListener
public void imageOpened(ij.ImagePlus impl)
imageOpened
in interface ij.ImageListener
public void imageUpdated(ij.ImagePlus impl)
imageUpdated
in interface ij.ImageListener
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public static String modifiers(int flags)
Copyright © 2015–2021 Fiji. All rights reserved.