Package com.openinventor.inventor
Class SoProgressIndicator
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.SoProgressIndicator
Class for reporting progress of a task.
This class notifies the application when a task (for example a long computation) starts, stops and when it is in progress. This is useful, for example, to allow the application to update a progress bar.
Potentially long processes are conceptually divided into sequential tasks, which are divided into subtasks, which may have multiple iteration steps. Not every process uses all of the above. See each specific use of this class for details about the specific process.
See events onBeginTask
, onEndTask
, onBeginSubTask
, onEndSubTask
, onEndStep
.
Each event has specific arguments: SoProgressIndicator.TaskEventArg
, SoProgressIndicator.SubTaskEventArg
, SoProgressIndicator.StepEventArg
.
Currently used in: SoVolumeRender
(setRenderProgress).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Class given to callback when an onEndStep is raised.static class
Class given to callback when onBeginSubTask/onEndSubTask are raised.static class
Class given to callback when onBeginTask/onEndTask are raised.Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionEvent raised when a sub-task begins.Event raised when a task begins.Event raised when a steps ends.Event raised when a sub-task ends.Event raised when a task ends.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Field Details
-
onBeginTask
Event raised when a task begins. -
onEndTask
Event raised when a task ends. -
onBeginSubTask
Event raised when a sub-task begins. -
onEndSubTask
Event raised when a sub-task ends. -
onEndStep
Event raised when a steps ends. A step is inside a SubTask(Begin/End).
-
-
Constructor Details
-
SoProgressIndicator
public SoProgressIndicator()Constructor.
-