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

Method RenderVolumetricGeometry

Rendering/Volume/vtkMultiVolume.cxx:305–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305int vtkMultiVolume::RenderVolumetricGeometry(vtkViewport* vp)
306{
307 this->Update();
308
309 if (!this->Mapper)
310 {
311 vtkErrorMacro(<< "Invalid Mapper!\n");
312 return 0;
313 }
314
315 if (!this->Mapper->GetDataObjectInput())
316 {
317 return 0;
318 }
319
320 this->Mapper->Render(static_cast<vtkRenderer*>(vp), this);
321 this->EstimatedRenderTime += this->Mapper->GetTimeToDraw();
322
323 return 1;
324}
325
326void vtkMultiVolume::SetProperty(vtkVolumeProperty* vtkNotUsed(property))
327{

Callers

nothing calls this directly

Calls 3

RenderMethod · 0.65
UpdateMethod · 0.45
GetDataObjectInputMethod · 0.45

Tested by

no test coverage detected