Package sc.fiji.snt.tracing
Class TubularGeodesicsTracer
java.lang.Object
java.lang.Thread
sc.fiji.snt.tracing.TubularGeodesicsTracer
- All Implemented Interfaces:
Runnable,SearchInterface
A tracer thread for
FijiITKInterface.TubularGeodesics (assumes the
tubularity add-on to be installed)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected sc.fiji.snt.tracing.PathResultprotected Fileprotected ArrayList<SearchProgressCallback> protected Stringprotected floatprotected floatprotected floatprotected doubleprotected doubleprotected doubleFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionTubularGeodesicsTracer(File oofFile, float start_x_image, float start_y_image, float start_z_image, float end_x_image, float end_y_image, float end_z_image, double x_spacing, double y_spacing, double z_spacing, String spacing_units) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProgressListener(SearchProgressCallback callback) voidreportFinished(boolean success) voidreportProgress(float proportionDone) voidvoidrun()Methods 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
-
Field Details
-
x_spacing
protected double x_spacing -
y_spacing
protected double y_spacing -
z_spacing
protected double z_spacing -
spacing_units
-
oofFile
-
start_x_image
protected float start_x_image -
start_y_image
protected float start_y_image -
start_z_image
protected float start_z_image -
end_x_image
protected float end_x_image -
end_y_image
protected float end_y_image -
end_z_image
protected float end_z_image -
lastPathResult
protected sc.fiji.snt.tracing.PathResult lastPathResult -
progressListeners
-
-
Constructor Details
-
TubularGeodesicsTracer
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceSearchInterface
-
addProgressListener
-
reportProgress
public void reportProgress(float proportionDone) -
requestStop
public void requestStop() -
run
public void run() -
reportFinished
public void reportFinished(boolean success)
-