Class SoProgressIndicator

java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.SoProgressIndicator

public class SoProgressIndicator extends Inventor
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: