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

Method DisplayRenderedImage

Rendering/Volume/vtkFixedPointVolumeRayCastMapper.cxx:1211–1229  ·  view source on GitHub ↗

This method displays the image that has been created

Source from the content-addressed store, hash-verified

1209
1210// This method displays the image that has been created
1211void vtkFixedPointVolumeRayCastMapper::DisplayRenderedImage(vtkRenderer* ren, vtkVolume* vol)
1212{
1213 float depth;
1214 if (this->IntermixIntersectingGeometry)
1215 {
1216 depth = this->MinimumViewDistance;
1217 }
1218 else
1219 {
1220 depth = -1;
1221 }
1222
1223 if (this->FinalColorWindow != 1.0 || this->FinalColorLevel != 0.5)
1224 {
1225 this->ApplyFinalColorWindowLevel();
1226 }
1227
1228 this->ImageDisplayHelper->RenderTexture(vol, ren, this->RayCastImage, depth);
1229}
1230
1231void vtkFixedPointVolumeRayCastMapper::ApplyFinalColorWindowLevel()
1232{

Callers 1

RenderMethod · 0.95

Calls 2

RenderTextureMethod · 0.80

Tested by

no test coverage detected