- All Known Implementing Classes:
FluxLightModelTracer,FluxLightTracer,FluxPathTracer,FluxTracer,FluxWhittedTracer,SceneVisitor
public interface ProgressMonitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll that display all messagesstatic final floatValue forsetProgress(java.lang.String, float)indicating that the renderer has done its job.static final I18NBundlestatic final floatValue forsetProgress(java.lang.String, float)indicating that the current state of progress is indetermined.static final intIntermediate that display only when the progress is done.static final EnumerationTypestatic final intNone which do not display anything -
Method Summary
Modifier and TypeMethodDescriptionvoidsetProgress(String text, float progress) This method is invoked by the renderer to monitor its progress.voidshowMessage(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
-