Class BoundingBoxGUI
java.lang.Object
net.preibisch.mvrecon.fiji.spimdata.boundingbox.BoundingBox
net.preibisch.mvrecon.fiji.plugin.boundingbox.BoundingBoxGUI
- All Implemented Interfaces:
Comparable<BoundingBox>,net.imglib2.Dimensions,net.imglib2.EuclideanSpace,net.imglib2.Interval,net.imglib2.RealInterval
- Direct Known Subclasses:
AutomaticReorientationBoundingBoxGUI,BDVBoundingBoxGUI,MaximumBoundingBoxGUI,MinFilterThresholdBoundingBoxGUI,ModifyDefinedBoundingBoxGUI
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int[]static int[]protected final SpimData2protected final List<mpicbg.spim.data.sequence.ViewId> Fields inherited from class net.preibisch.mvrecon.fiji.spimdata.boundingbox.BoundingBox
max, min, title -
Constructor Summary
ConstructorsConstructorDescriptionBoundingBoxGUI(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess) BoundingBoxGUI(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess, BoundingBox bb) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanprotected static booleanfindRange(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess, int[] rangeMin, int[] rangeMax) abstract Stringprotected ij.gui.GenericDialoggetSimpleDialog(boolean allowModifyDimensions) abstract BoundingBoxGUInewInstance(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess) booleanprotected abstract booleansetUpDefaultValues(int[] rangeMin, int[] rangeMax) populates this.min[] and this.max[] from the defaultMin and defaultMaxMethods inherited from class net.preibisch.mvrecon.fiji.spimdata.boundingbox.BoundingBox
compareTo, dimension, dimensions, getBoundingBoxDescription, getDimensions, getMax, getMin, getTitle, max, max, max, min, min, min, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin, setTitle, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.imglib2.Dimensions
dimensions, dimensionsAsLongArray, dimensionsAsPointMethods inherited from interface net.imglib2.Interval
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPointMethods inherited from interface net.imglib2.RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
-
Field Details
-
defaultMin
public static int[] defaultMin -
defaultMax
public static int[] defaultMax -
viewIdsToProcess
-
spimData
-
-
Constructor Details
-
BoundingBoxGUI
-
BoundingBoxGUI
public BoundingBoxGUI(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess, BoundingBox bb)
-
-
Method Details
-
allowModifyDimensions
protected abstract boolean allowModifyDimensions() -
queryParameters
public boolean queryParameters() -
getSimpleDialog
-
findRange
protected static boolean findRange(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess, int[] rangeMin, int[] rangeMax) -
setUpDefaultValues
protected abstract boolean setUpDefaultValues(int[] rangeMin, int[] rangeMax) populates this.min[] and this.max[] from the defaultMin and defaultMax- Parameters:
rangeMin- - will be populated with the maximal dimension that all views spanrangeMax- - will be populated with the maximal dimension that all views span- Returns:
- true if it was successful, otherwise false
-
newInstance
public abstract BoundingBoxGUI newInstance(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> viewIdsToProcess) - Parameters:
spimData- - the spimdataviewIdsToProcess- - which view ids to fuse- Returns:
- - a new instance without any special properties
-
getDescription
- Returns:
- - to be displayed in the generic dialog
-