public class FillerThread extends SearchThread
CANCELLED, CLOSED_FROM_GOAL, CLOSED_FROM_START, exitReasonStrings, FREE, OPEN_FROM_GOAL, OPEN_FROM_START, OUT_OF_MEMORY, PAUSED, POINTS_EXHAUSTED, RUNNING, STOPPING, SUCCESS, TIMED_OUT
Constructor and Description |
---|
FillerThread(ij.ImagePlus imagePlus,
float stackMin,
float stackMax,
boolean startPaused,
boolean reciprocal,
double initialThreshold,
long reportEveryMilliseconds) |
Modifier and Type | Method and Description |
---|---|
void |
drawProgressOnSlice(int plane,
int currentSliceInPlane,
sc.fiji.snt.TracerCanvas canvas,
java.awt.Graphics g) |
ij.ImagePlus |
fillAsImagePlus(boolean realData) |
static FillerThread |
fromFill(ij.ImagePlus imagePlus,
float stackMin,
float stackMax,
boolean startPaused,
Fill fill) |
float |
getDistanceAtPoint(double xd,
double yd,
double zd) |
Path |
getResult() |
float |
getThreshold() |
void |
setSourcePaths(java.util.Collection<Path> newSourcePaths) |
void |
setThreshold(double threshold) |
addNode, addProgressListener, getThreadStatus, pauseOrUnpause, pointsConsideredInSearch, printStatus, reportFinished, reportThreadStatus, requestStop, run
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public FillerThread(ij.ImagePlus imagePlus, float stackMin, float stackMax, boolean startPaused, boolean reciprocal, double initialThreshold, long reportEveryMilliseconds)
public float getDistanceAtPoint(double xd, double yd, double zd)
public static FillerThread fromFill(ij.ImagePlus imagePlus, float stackMin, float stackMax, boolean startPaused, Fill fill)
public void setThreshold(double threshold)
public float getThreshold()
public void setSourcePaths(java.util.Collection<Path> newSourcePaths)
public ij.ImagePlus fillAsImagePlus(boolean realData)
public void drawProgressOnSlice(int plane, int currentSliceInPlane, sc.fiji.snt.TracerCanvas canvas, java.awt.Graphics g)
drawProgressOnSlice
in interface SearchInterface
drawProgressOnSlice
in class SearchThread
public Path getResult()