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

Method RenderSubVolume

Rendering/Volume/vtkFixedPointVolumeRayCastMapper.cxx:1200–1208  ·  view source on GitHub ↗

This is the render method for the subvolume

Source from the content-addressed store, hash-verified

1198
1199// This is the render method for the subvolume
1200void vtkFixedPointVolumeRayCastMapper::RenderSubVolume()
1201{
1202 // Set the number of threads to use for ray casting,
1203 // then set the execution method and do it.
1204 this->InvokeEvent(vtkCommand::VolumeMapperRenderStartEvent, nullptr);
1205 this->Threader->SetSingleMethod(FixedPointVolumeRayCastMapper_CastRays, (void*)this);
1206 this->Threader->SingleMethodExecute();
1207 this->InvokeEvent(vtkCommand::VolumeMapperRenderEndEvent, nullptr);
1208}
1209
1210// This method displays the image that has been created
1211void vtkFixedPointVolumeRayCastMapper::DisplayRenderedImage(vtkRenderer* ren, vtkVolume* vol)

Callers 2

RenderMethod · 0.95
CreateCanonicalViewMethod · 0.95

Calls 3

InvokeEventMethod · 0.80
SetSingleMethodMethod · 0.45
SingleMethodExecuteMethod · 0.45

Tested by

no test coverage detected