Package sc.fiji.snt.gui.cmds
Class ComputeSecondaryImg<T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>,U extends net.imglib2.type.numeric.RealType<U> & net.imglib2.type.NativeType<U>>
java.lang.Object
org.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
org.scijava.command.DynamicCommand
sc.fiji.snt.gui.cmds.CommonDynamicCmd
sc.fiji.snt.gui.cmds.ComputeSecondaryImg<T,U>
- Type Parameters:
T- the pixel type of the input image, extendingRealTypeandNativeTypeU- the pixel type of the output (secondary) image, extendingRealTypeandNativeType
- All Implemented Interfaces:
Runnable,org.scijava.Cancelable,org.scijava.command.Command,org.scijava.command.Interactive,org.scijava.Contextual,org.scijava.module.Module,org.scijava.module.MutableModule,org.scijava.plugin.SciJavaPlugin,SigmaPaletteListener
public class ComputeSecondaryImg<T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>,U extends net.imglib2.type.numeric.RealType<U> & net.imglib2.type.NativeType<U>>
extends CommonDynamicCmd
implements org.scijava.command.Interactive, SigmaPaletteListener
Implements the "Generate Secondary Layer" command.
- Author:
- Tiago Ferreira, Cameron Arshadi
-
Field Summary
Fields inherited from class sc.fiji.snt.gui.cmds.CommonDynamicCmd
EMPTY_LABEL, HEADER_HTML, snt, sntService, statusService, ui, uiServiceFields inherited from class org.scijava.command.DynamicCommand
moduleService, pluginService -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class sc.fiji.snt.gui.cmds.CommonDynamicCmd
cancel, cancel, getPromptWithCloseHandler, getPromptWithCloseHandler, init, isCanceled, notifyExternalDataLoaded, notifyLoadingEnd, notifyLoadingStart, resetUI, resetUI, statusMethods inherited from class org.scijava.command.DynamicCommand
context, getCancelReason, getContext, getInfo, getInput, getOutput, saveInputs, setContext, setInput, setOutput, uncancelMethods inherited from class org.scijava.module.AbstractModule
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.module.Module
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputMethods inherited from interface org.scijava.module.MutableModule
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
-
Constructor Details
-
ComputeSecondaryImg
public ComputeSecondaryImg()
-
-
Method Details
-
init
protected void init() -
run
public void run()- Specified by:
runin interfaceorg.scijava.module.MutableModule- Specified by:
runin interfaceRunnable- Overrides:
runin classCommonDynamicCmd
-
resetUI
protected void resetUI(boolean validateDimensions) - Overrides:
resetUIin classCommonDynamicCmd
-
paletteDisplayed
public void paletteDisplayed()- Specified by:
paletteDisplayedin interfaceSigmaPaletteListener
-
paletteDismissed
public void paletteDismissed()- Specified by:
paletteDismissedin interfaceSigmaPaletteListener
-
getParent
- Specified by:
getParentin interfaceSigmaPaletteListener
-
setSigmas
- Specified by:
setSigmasin interfaceSigmaPaletteListener
-
msg
- Overrides:
msgin classCommonDynamicCmd
-
error
- Overrides:
errorin classCommonDynamicCmd
-
main
-