M - the transformation model to be usedpublic abstract class InteractiveInvertibleCoordinateTransform<M extends Model<M> & InvertibleCoordinateTransform> extends Object implements ij.plugin.PlugIn, MouseListener, MouseMotionListener, KeyListener, ij.ImageListener
| Modifier and Type | Class and Description |
|---|---|
static class |
InteractiveInvertibleCoordinateTransform.Tuple |
| Modifier and Type | Field and Description |
|---|---|
protected PointRoi |
handles |
protected ij.ImagePlus |
imp |
protected ArrayList<PointMatch> |
m |
protected InverseTransformMapping<M> |
mapping |
protected Point[] |
p |
protected Point[] |
q |
protected int |
targetIndex |
protected ArrayList<InteractiveInvertibleCoordinateTransform.Tuple> |
tuples |
| Constructor and Description |
|---|
InteractiveInvertibleCoordinateTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
imageClosed(ij.ImagePlus imp2) |
void |
imageOpened(ij.ImagePlus imp2) |
void |
imageUpdated(ij.ImagePlus imp2) |
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) |
protected abstract M |
myModel() |
protected void |
onReturn() |
void |
run(String arg) |
protected abstract void |
setHandles() |
protected abstract void |
updateHandles(int x,
int y) |
protected static void |
useRoi(float[] x,
float[] y) |
protected InverseTransformMapping<M extends Model<M> & InvertibleCoordinateTransform> mapping
protected ij.ImagePlus imp
protected final ArrayList<InteractiveInvertibleCoordinateTransform.Tuple> tuples
protected Point[] p
protected Point[] q
protected final ArrayList<PointMatch> m
protected PointRoi handles
protected int targetIndex
public InteractiveInvertibleCoordinateTransform()
protected static final void useRoi(float[] x,
float[] y)
protected abstract M myModel()
protected abstract void setHandles()
protected abstract void updateHandles(int x,
int y)
protected void onReturn()
public void run(String arg)
run in interface ij.plugin.PlugInpublic void imageClosed(ij.ImagePlus imp2)
imageClosed in interface ij.ImageListenerpublic void imageOpened(ij.ImagePlus imp2)
imageOpened in interface ij.ImageListenerpublic void imageUpdated(ij.ImagePlus imp2)
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.