Module raytracer

Interface ProgressMonitor


public interface ProgressMonitor
This interface is used by a Renderer to monitor the progress of rendering and to show messages. To ease the usage of the raytracer in groimp, it is now depending on Utility. The ProgressMonitor used is the one from there.
Author:
Ole Kniemeyer
  • Field Details

  • Method Details

    • setProgress

      void setProgress(String text, float progress)
      This method is invoked by the renderer to monitor its progress.
      Parameters:
      text - short text to display
      progress - state of progress from 0 to 1, or one of the constants INDETERMINATE_PROGRESS, DONE_PROGRESS
    • showMessage

      void showMessage(String message)
      This method is invoked by the renderer to show a message, e.g., the statistics after rendering has completed.
      Parameters:
      message - message to display