Click or drag to resize
SoVolumeRenderAbortCallback Property

Sets delegateto call during texture map rendering to test for an abort condition.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public SoVolumeRenderRenderAbortCB AbortCallback { get; set; }

Property Value

Type: SoVolumeRenderRenderAbortCB
Remarks

When not in raycasting mode, it will be called for each element that is rendered.

In the case of LDM, an element is a tile, totalElems is the number of tiles that will be drawn, and thisElem is the number (counting from one) of the next tile to be drawn. The quotient thisElem / totalElems represents the progress of the volume rendering process.

In the non-LDM case, an element is a slice, totalElems is the number of slices that will be drawn, and thisElem is the number (counting from one) of the next slice to be drawn. The quotient thisElem / totalElems represents the progress of the volume rendering process.

This allows applications to terminate rendering of this node prematurely if some condition occurs. It does not terminate traversal of the scene graph. (For that use the OIV.Inventor.Actions.SoGLRenderAction abort callback.) The callback function should return one of the AbortCode codes to indicate whether rendering should continue.

See Also