Class TubularGeodesicsTracer

java.lang.Object
java.lang.Thread
sc.fiji.snt.tracing.TubularGeodesicsTracer
All Implemented Interfaces:
Runnable, SearchInterface

public class TubularGeodesicsTracer extends Thread implements SearchInterface
A tracer thread for FijiITKInterface.TubularGeodesics (assumes the tubularity add-on to be installed)
  • Field Details

    • x_spacing

      protected double x_spacing
    • y_spacing

      protected double y_spacing
    • z_spacing

      protected double z_spacing
    • spacing_units

      protected String spacing_units
    • oofFile

      protected File 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

      protected ArrayList<SearchProgressCallback> progressListeners
  • Constructor Details

    • TubularGeodesicsTracer

      public TubularGeodesicsTracer(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 Details

    • getResult

      public Path getResult()
      Specified by:
      getResult in interface SearchInterface
    • addProgressListener

      public void addProgressListener(SearchProgressCallback callback)
    • reportProgress

      public void reportProgress(float proportionDone)
    • requestStop

      public void requestStop()
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • reportFinished

      public void reportFinished(boolean success)