ij.gui.StackWindow Java Examples

The following examples show how to use ij.gui.StackWindow. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SimpleNeuriteTracer.java    From SNT with GNU General Public License v3.0 5 votes vote down vote up
public StackWindow getWindow(final int plane) {
	switch (plane) {
	case ThreePanes.XY_PLANE:
		return xy_window;
	case ThreePanes.XZ_PLANE:
		return (single_pane) ? null : xz_window;
	case ThreePanes.ZY_PLANE:
		return (single_pane) ? null : zy_window;
	default:
		return null;
	}
}
 
Example #2
Source File: NeuriteTracerResultsDialog.java    From SNT with GNU General Public License v3.0 4 votes vote down vote up
private ImagePlus getImagePlusFromPane(final int pane) {
	final StackWindow win = plugin.getWindow(pane);
	return (win == null) ? null : win.getImagePlus();
}