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.PlugIn
public void imageClosed(ij.ImagePlus imp2)
imageClosed
in interface ij.ImageListener
public void imageOpened(ij.ImagePlus imp2)
imageOpened
in interface ij.ImageListener
public void imageUpdated(ij.ImagePlus imp2)
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.