Package sc.fiji.snt.gui
Class SigmaPalette
java.lang.Object
java.lang.Thread
sc.fiji.snt.gui.SigmaPalette
- All Implemented Interfaces:
Runnable
Implements SNT 'Sigma wizard'. It relies heavily on java.awt because it
extends IJ1's StackWindow. It was ported from
features.SigmaPalette
now deprecated.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(SigmaPaletteListener listener) voiddismiss()voidmakePalette(int x_min, int x_max, int y_min, int y_max, int z_min, int z_max, double[] sigmaValues, int sigmasAcross, int sigmasDown, int initial_z) Displays the Sigma wizard in a separate thread.voidremoveListener(SigmaPaletteListener listener) voidrun()voidMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
SigmaPalette
-
-
Method Details
-
setParent
-
makePalette
public void makePalette(int x_min, int x_max, int y_min, int y_max, int z_min, int z_max, double[] sigmaValues, int sigmasAcross, int sigmasDown, int initial_z) Displays the Sigma wizard in a separate thread.- Parameters:
x_min- image boundary for choice gridx_max- image boundary for choice gridy_min- image boundary for choice gridy_max- image boundary for choice gridz_min- image boundary for choice grid (1-based index)z_max- image boundary for choice grid (1-based index)sigmaValues- the desired range of sigma values for choice gridsigmasAcross- the number of columns in choice gridsigmasDown- the number of rows in choice gridinitial_z- the default z-position
-
dismiss
public void dismiss() -
getMultiScaleSettings
-
run
public void run() -
addListener
-
removeListener
-