- 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:PlugInThis 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:
mouseClickedin interfaceMouseListener
-
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressedin interfaceMouseListener
-
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleasedin interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTypedin interfaceKeyListener
-
actionPerformed
public void actionPerformed(ActionEvent ev)
- Specified by:
actionPerformedin interfaceActionListener
-
imageClosed
public void imageClosed(ImagePlus imp)
- Specified by:
imageClosedin interfaceImageListener
-
imageOpened
public void imageOpened(ImagePlus imp)
- Specified by:
imageOpenedin interfaceImageListener
-
imageUpdated
public void imageUpdated(ImagePlus imp)
- Specified by:
imageUpdatedin interfaceImageListener
-
commandExecuting
public String commandExecuting(String command)
- Specified by:
commandExecutingin interfaceCommandListener
-
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivatedin interfaceWindowListener
-
windowClosed
public void windowClosed(WindowEvent e)
- Specified by:
windowClosedin interfaceWindowListener
-
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosingin interfaceWindowListener
-
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Specified by:
windowDeactivatedin interfaceWindowListener
-
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowIconified
public void windowIconified(WindowEvent e)
- Specified by:
windowIconifiedin interfaceWindowListener
-
windowOpened
public void windowOpened(WindowEvent e)
- Specified by:
windowOpenedin interfaceWindowListener
-
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
- Specified by:
adjustmentValueChangedin interfaceAdjustmentListener
-
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
- Specified by:
mouseWheelMovedin interfaceMouseWheelListener
-
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLostin 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()
-
start
public static void start()
-
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()
-
-