- java.lang.Object
-
- ij.plugin.Orthogonal_Views
-
- All Implemented Interfaces:
CommandListener
,ImageListener
,PlugIn
,ActionListener
,AdjustmentListener
,FocusListener
,KeyListener
,MouseListener
,MouseMotionListener
,MouseWheelListener
,WindowListener
,Runnable
,EventListener
public class Orthogonal_Views extends Object implements PlugIn, MouseListener, MouseMotionListener, KeyListener, ActionListener, ImageListener, WindowListener, AdjustmentListener, MouseWheelListener, FocusListener, CommandListener, Runnable
This plugin projects dynamically orthogonal XZ and YZ views of a stack. The output images are calibrated, which allows measurements to be performed more easily. Many thanks to Jerome Mutterer for the code contributions and testing. Thanks to Wayne Rasband for the code that properly handles the image magnification.- Author:
- Dimiter Prodanov
-
-
Constructor Summary
Constructors Constructor Description Orthogonal_Views()
-
Method Summary
-
-
-
Method Detail
-
run
public void run(String arg)
Description copied from interface:PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interfaceMouseListener
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
-
actionPerformed
public void actionPerformed(ActionEvent ev)
- Specified by:
actionPerformed
in interfaceActionListener
-
imageClosed
public void imageClosed(ImagePlus imp)
- Specified by:
imageClosed
in interfaceImageListener
-
imageOpened
public void imageOpened(ImagePlus imp)
- Specified by:
imageOpened
in interfaceImageListener
-
imageUpdated
public void imageUpdated(ImagePlus imp)
- Specified by:
imageUpdated
in interfaceImageListener
-
commandExecuting
public String commandExecuting(String command)
- Specified by:
commandExecuting
in interfaceCommandListener
-
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivated
in interfaceWindowListener
-
windowClosed
public void windowClosed(WindowEvent e)
- Specified by:
windowClosed
in interfaceWindowListener
-
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosing
in interfaceWindowListener
-
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Specified by:
windowDeactivated
in interfaceWindowListener
-
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Specified by:
windowDeiconified
in interfaceWindowListener
-
windowIconified
public void windowIconified(WindowEvent e)
- Specified by:
windowIconified
in interfaceWindowListener
-
windowOpened
public void windowOpened(WindowEvent e)
- Specified by:
windowOpened
in interfaceWindowListener
-
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
- Specified by:
adjustmentValueChanged
in interfaceAdjustmentListener
-
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
-
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLost
in interfaceFocusListener
-
getImage
public static ImagePlus getImage()
-
getImageID
public static int getImageID()
-
getImageIDs
public static int[] getImageIDs()
Returns the IDs of the XY, YZ and XZ images as an int array.
-
stop
public static void stop()
-
isOrthoViewsImage
public static boolean isOrthoViewsImage(ImagePlus imp)
-
getInstance
public static Orthogonal_Views getInstance()
-
getCrossLoc
public int[] getCrossLoc()
-
setCrossLoc
public void setCrossLoc(int x, int y, int z)
-
getXZImage
public ImagePlus getXZImage()
-
getYZImage
public ImagePlus getYZImage()
-
-