Class Bvv.AnnotationOverlay

java.lang.Object
sc.fiji.snt.viewer.Bvv.AnnotationOverlay
Enclosing class:
Bvv

public static class Bvv.AnnotationOverlay extends Object
Renders spherical annotations at SNTPoint world coordinates. Rendered with CPU (Java2D) but optimized with caching and batched rendering.
  • Method Details

    • setAnnotations

      public void setAnnotations(Collection<SNTPoint> points, float radius, Color color)
      Replace the current annotations with the provided list.
    • addAnnotations

      public void addAnnotations(Collection<SNTPoint> points, float radius, Color color)
      Add annotations to the current list.
    • addAnnotation

      public void addAnnotation(SNTPoint p, float radius, Color color)
      Add a single annotation.
    • clear

      public void clear()
      Remove all annotations.
    • isVisible

      public boolean isVisible()
    • getCount

      public int getCount()
      Returns the number of annotations currently in the overlay.
    • setVisible

      public void setVisible(boolean visible)
      Show/hide annotations
    • updateScene

      public void updateScene()
      Ensure renderers/nodes reflect current annotation list.