SoVolumeRenderSetAbortCallback Method (SoVolumeRenderRenderAbortCB) |
Note: This API is now obsolete.
Namespace: OIV.VolumeViz.Nodes
[ObsoleteAttribute("Use AbortCallback property instead.")] [EditorBrowsableAttribute(EditorBrowsableState.Never)] public void SetAbortCallback( SoVolumeRenderRenderAbortCB cb )
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 SoGLRenderAction abort delegate.) The delegate method should return one of the AbortCode codes to indicate whether rendering should continue.