- All Known Implementing Classes:
FluxLightModelTracer
,FluxLightTracer
,FluxPathTracer
,FluxTracer
,FluxWhittedTracer
,SceneVisitor
public interface ProgressMonitor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
All that display all messagesstatic final float
Value forsetProgress(java.lang.String, float)
indicating that the renderer has done its job.static final I18NBundle
static final float
Value forsetProgress(java.lang.String, float)
indicating that the current state of progress is indetermined.static final int
Intermediate that display only when the progress is done.static final EnumerationType
static final int
None which do not display anything -
Method Summary
Modifier and TypeMethodDescriptionvoid
setProgress
(String text, float progress) This method is invoked by the renderer to monitor its progress.void
showMessage
(String message) This method is invoked by the renderer to show a message, e.g., the statistics after rendering has completed.
-
Field Details
-
I18N
-
LEVEL
-
NONE
static final int NONENone which do not display anything- See Also:
-
INTERMEDIATE
static final int INTERMEDIATEIntermediate that display only when the progress is done.- See Also:
-
ALL
static final int ALLAll that display all messages- See Also:
-
INDETERMINATE_PROGRESS
static final float INDETERMINATE_PROGRESSValue forsetProgress(java.lang.String, float)
indicating that the current state of progress is indetermined.- See Also:
-
DONE_PROGRESS
static final float DONE_PROGRESSValue forsetProgress(java.lang.String, float)
indicating that the renderer has done its job.- See Also:
-
-
Method Details
-
setProgress
This method is invoked by the renderer to monitor its progress.- Parameters:
text
- short text to displayprogress
- state of progress from 0 to 1, or one of the constantsINDETERMINATE_PROGRESS
,DONE_PROGRESS
-
showMessage
This method is invoked by the renderer to show a message, e.g., the statistics after rendering has completed.- Parameters:
message
- message to display
-