Module utilities

Interface ProgressMonitor

All Known Implementing Classes:
FluxLightModelTracer, FluxLightTracer, FluxPathTracer, FluxTracer, FluxWhittedTracer, SceneVisitor

public interface ProgressMonitor
  • 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