Class BiSearchArtist

java.lang.Object
sc.fiji.snt.tracing.artist.BiSearchArtist
All Implemented Interfaces:
SearchArtist

public class BiSearchArtist extends Object implements SearchArtist
An artist implementation that visualizes bidirectional search operations.

This class is responsible for rendering the visual representation of bidirectional search processes, typically showing:

  • Forward search progress from the start point
  • Backward search progress from the target point
  • Search frontiers and explored regions
  • Meeting points when the bidirectional paths connect
  • Constructor Details

    • BiSearchArtist

      public BiSearchArtist(BiSearch search, Color openColor, Color closedColor)
      Constructs a new BiSearchArtist with the specified search and colors.
      Parameters:
      search - the BiSearch instance to visualize
      openColor - the color for open nodes
      closedColor - the color for closed nodes
  • Method Details

    • setOpenColor

      public void setOpenColor(Color color)
      Sets the color for open nodes.
      Parameters:
      color - the color to set
    • setClosedColor

      public void setClosedColor(Color color)
      Sets the color for closed nodes.
      Parameters:
      color - the color to set
    • setDrawingThreshold

      public void setDrawingThreshold(double threshold)
      Sets the drawing threshold for visualization.
      Parameters:
      threshold - the threshold value
    • drawProgressOnSlice

      public void drawProgressOnSlice(int plane, int currentSliceInPlane, TracerCanvas canvas, Graphics g)
      Specified by:
      drawProgressOnSlice in interface SearchArtist
    • getSearch

      public SearchInterface getSearch()
      Specified by:
      getSearch in interface SearchArtist
    • anyNodeUnderThreshold

      public BiSearchNode anyNodeUnderThreshold(int x, int y, int z, double threshold)