Module ij
Package ij.plugin

Class Orthogonal_Views

java.lang.Object
ij.plugin.Orthogonal_Views
All Implemented Interfaces:
CommandListener, ImageListener, PlugIn, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.FocusListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

public class Orthogonal_Views
extends java.lang.Object
implements PlugIn, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.KeyListener, java.awt.event.ActionListener, ImageListener, java.awt.event.WindowListener, java.awt.event.AdjustmentListener, java.awt.event.MouseWheelListener, java.awt.event.FocusListener, CommandListener, java.lang.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 Details

  • Method Details

    • run

      public void run​(java.lang.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.
      Specified by:
      run in interface PlugIn
    • mouseClicked

      public void mouseClicked​(java.awt.event.MouseEvent e)
      Specified by:
      mouseClicked in interface java.awt.event.MouseListener
    • mouseEntered

      public void mouseEntered​(java.awt.event.MouseEvent e)
      Specified by:
      mouseEntered in interface java.awt.event.MouseListener
    • mouseExited

      public void mouseExited​(java.awt.event.MouseEvent e)
      Specified by:
      mouseExited in interface java.awt.event.MouseListener
    • mousePressed

      public void mousePressed​(java.awt.event.MouseEvent e)
      Specified by:
      mousePressed in interface java.awt.event.MouseListener
    • mouseDragged

      public void mouseDragged​(java.awt.event.MouseEvent e)
      Specified by:
      mouseDragged in interface java.awt.event.MouseMotionListener
    • mouseReleased

      public void mouseReleased​(java.awt.event.MouseEvent e)
      Specified by:
      mouseReleased in interface java.awt.event.MouseListener
    • mouseMoved

      public void mouseMoved​(java.awt.event.MouseEvent e)
      Specified by:
      mouseMoved in interface java.awt.event.MouseMotionListener
    • keyPressed

      public void keyPressed​(java.awt.event.KeyEvent e)
      Specified by:
      keyPressed in interface java.awt.event.KeyListener
    • keyReleased

      public void keyReleased​(java.awt.event.KeyEvent e)
      Specified by:
      keyReleased in interface java.awt.event.KeyListener
    • keyTyped

      public void keyTyped​(java.awt.event.KeyEvent e)
      Specified by:
      keyTyped in interface java.awt.event.KeyListener
    • actionPerformed

      public void actionPerformed​(java.awt.event.ActionEvent ev)
      Specified by:
      actionPerformed in interface java.awt.event.ActionListener
    • imageClosed

      public void imageClosed​(ImagePlus imp)
      Specified by:
      imageClosed in interface ImageListener
    • imageOpened

      public void imageOpened​(ImagePlus imp)
      Specified by:
      imageOpened in interface ImageListener
    • imageUpdated

      public void imageUpdated​(ImagePlus imp)
      Specified by:
      imageUpdated in interface ImageListener
    • commandExecuting

      public java.lang.String commandExecuting​(java.lang.String command)
      Specified by:
      commandExecuting in interface CommandListener
    • windowActivated

      public void windowActivated​(java.awt.event.WindowEvent e)
      Specified by:
      windowActivated in interface java.awt.event.WindowListener
    • windowClosed

      public void windowClosed​(java.awt.event.WindowEvent e)
      Specified by:
      windowClosed in interface java.awt.event.WindowListener
    • windowClosing

      public void windowClosing​(java.awt.event.WindowEvent e)
      Specified by:
      windowClosing in interface java.awt.event.WindowListener
    • windowDeactivated

      public void windowDeactivated​(java.awt.event.WindowEvent e)
      Specified by:
      windowDeactivated in interface java.awt.event.WindowListener
    • windowDeiconified

      public void windowDeiconified​(java.awt.event.WindowEvent e)
      Specified by:
      windowDeiconified in interface java.awt.event.WindowListener
    • windowIconified

      public void windowIconified​(java.awt.event.WindowEvent e)
      Specified by:
      windowIconified in interface java.awt.event.WindowListener
    • windowOpened

      public void windowOpened​(java.awt.event.WindowEvent e)
      Specified by:
      windowOpened in interface java.awt.event.WindowListener
    • adjustmentValueChanged

      public void adjustmentValueChanged​(java.awt.event.AdjustmentEvent e)
      Specified by:
      adjustmentValueChanged in interface java.awt.event.AdjustmentListener
    • mouseWheelMoved

      public void mouseWheelMoved​(java.awt.event.MouseWheelEvent e)
      Specified by:
      mouseWheelMoved in interface java.awt.event.MouseWheelListener
    • focusGained

      public void focusGained​(java.awt.event.FocusEvent e)
      Specified by:
      focusGained in interface java.awt.event.FocusListener
    • focusLost

      public void focusLost​(java.awt.event.FocusEvent e)
      Specified by:
      focusLost in interface java.awt.event.FocusListener
    • 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()
    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable