Click or drag to resize
SoVolumeShapeSetRenderProgress Method

Set an application defined OIV.Inventor.SoProgressIndicator object which will raise an event before and after the rendering task, before and after each subtask (in this case: Texture creation and Geometry creation) and after each step in the subtasks which represents in most cases individual tiles of data.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public virtual void SetRenderProgress(
	SoProgressIndicator ps
)

Parameters

ps
Type: OIV.InventorSoProgressIndicator
Remarks

  • OIV.Inventor.SoProgressIndicator.onBeginTask / OIV.Inventor.SoProgressIndicator.onEndTask will be raised only one time per frame : "Rendering".

  • OIV.Inventor.SoProgressIndicator.onBeginSubTask / OIV.Inventor.SoProgressIndicator.onEndSubTask will be raised 2 times per frame : "Loading Texture" and "Create Geometry".

  • OIV.Inventor.SoProgressIndicator.onEndStep will be raised several times per subtask.

Track loading progression with OIV.Inventor.SoProgressIndicator.onEndStep event of SubTask "Loading Texture":

  • NumSteps represents here the number of tiles to load to reach the "stable rendering state".

  • NumStepsDone represents here the number of tiles currently loaded since the last NumSteps reset.

  • The two numbers are reset when the viewer is moving the camera.

Limitations :

If set to NULL no events will be raised. Default is NULL.

Note Note

Member available since Open Inventor 2023.2

See Also