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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcommandExecuting(String command) voidvoidint[]static ImagePlusgetImage()static intstatic int[]Returns the IDs of the XY, YZ and XZ images as an int array.static Orthogonal_ViewsvoidimageClosed(ImagePlus imp) voidimageOpened(ImagePlus imp) voidimageUpdated(ImagePlus imp) static booleanvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidrun()voidThis method is called when the plugin is loaded.voidsetCrossLoc(int x, int y, int z) static voidstop()voidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
Orthogonal_Views
public Orthogonal_Views()
-
-
Method Details
-
run
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
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener
-
keyTyped
- Specified by:
keyTypedin interfaceKeyListener
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
imageClosed
- Specified by:
imageClosedin interfaceImageListener
-
imageOpened
- Specified by:
imageOpenedin interfaceImageListener
-
imageUpdated
- Specified by:
imageUpdatedin interfaceImageListener
-
commandExecuting
- Specified by:
commandExecutingin interfaceCommandListener
-
windowActivated
- Specified by:
windowActivatedin interfaceWindowListener
-
windowClosed
- Specified by:
windowClosedin interfaceWindowListener
-
windowClosing
- Specified by:
windowClosingin interfaceWindowListener
-
windowDeactivated
- Specified by:
windowDeactivatedin interfaceWindowListener
-
windowDeiconified
- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowIconified
- Specified by:
windowIconifiedin interfaceWindowListener
-
windowOpened
- Specified by:
windowOpenedin interfaceWindowListener
-
adjustmentValueChanged
- Specified by:
adjustmentValueChangedin interfaceAdjustmentListener
-
mouseWheelMoved
- Specified by:
mouseWheelMovedin interfaceMouseWheelListener
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
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
-
getInstance
-
getCrossLoc
public int[] getCrossLoc() -
setCrossLoc
public void setCrossLoc(int x, int y, int z) -
getXZImage
-
getYZImage
-
run
public void run()
-