Class ScriptableMacroRunner


  • public class ScriptableMacroRunner
    extends java.lang.Object
    This is a wrapper around the MacroRunner to make it easier to script
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptableMacroRunner()
      A Simple public class that must do a few things 1.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      This is where the work happens We add the whole image annotation if needed and run the macroRunner We then remove the whole image annotation if we need it
      void setClearObjects​(boolean clearObjects)  
      void setDownsample​(int downsampleFactor)  
      void setGetOverlay​(boolean getOverlay)  
      void setGetOverlayAs​(java.lang.String overlayAs)  
      void setGetROI​(boolean getRoi)  
      void setParameters​(qupath.lib.plugins.parameters.ParameterList parameters)  
      void setPathObject​(qupath.lib.objects.PathObject pathObject)  
      void setSendOverlay​(boolean setOverlay)  
      void setSendROI​(boolean sendROI)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setPathObject

        public void setPathObject​(qupath.lib.objects.PathObject pathObject)
      • setDownsample

        public void setDownsample​(int downsampleFactor)
      • setSendROI

        public void setSendROI​(boolean sendROI)
      • setSendOverlay

        public void setSendOverlay​(boolean setOverlay)
      • setClearObjects

        public void setClearObjects​(boolean clearObjects)
      • setGetROI

        public void setGetROI​(boolean getRoi)
      • setGetOverlay

        public void setGetOverlay​(boolean getOverlay)
      • setGetOverlayAs

        public void setGetOverlayAs​(java.lang.String overlayAs)
      • setParameters

        public void setParameters​(qupath.lib.plugins.parameters.ParameterList parameters)
      • run

        public void run()
        This is where the work happens We add the whole image annotation if needed and run the macroRunner We then remove the whole image annotation if we need it