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.PlugInprotected final void updateRoi()
public void imageClosed(ij.ImagePlus impl)
imageClosed in interface ij.ImageListenerpublic void imageOpened(ij.ImagePlus impl)
imageOpened in interface ij.ImageListenerpublic void imageUpdated(ij.ImagePlus impl)
imageUpdated in interface ij.ImageListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic static String modifiers(int flags)
Copyright © 2015–2021 Fiji. All rights reserved.