MCPcopy Create free account
hub / github.com/Kitware/VTK / AbortRender

Method AbortRender

Rendering/Volume/vtkFixedPointVolumeRayCastMapper.cxx:1284–1289  ·  view source on GitHub ↗

This method should be called when the render is aborted to restore previous values. Otherwise, the old time is still stored, with the newly computed sample distances, and that will cause problems on the next render.

Source from the content-addressed store, hash-verified

1282// Otherwise, the old time is still stored, with the newly computed sample distances,
1283// and that will cause problems on the next render.
1284void vtkFixedPointVolumeRayCastMapper::AbortRender()
1285{
1286 // Restore values
1287 this->ImageSampleDistance = this->OldImageSampleDistance;
1288 this->SampleDistance = this->OldSampleDistance;
1289}
1290
1291// Capture the ZBuffer to use for intermixing with opaque geometry
1292// that has already been rendered

Callers 2

RenderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected