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

Method GenericStartRenderCallback

Rendering/Parallel/vtkParallelRenderManager.cxx:421–436  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

419
420//------------------------------------------------------------------------------
421void vtkParallelRenderManager::GenericStartRenderCallback()
422{
423 if (!this->Controller)
424 {
425 return;
426 }
427
428 if (this->Controller->GetLocalProcessId() == this->RootProcessId)
429 {
430 this->StartRender();
431 }
432 else // LocalProcessId != RootProcessId
433 {
434 this->SatelliteStartRender();
435 }
436}
437
438//------------------------------------------------------------------------------
439void vtkParallelRenderManager::GenericEndRenderCallback()

Callers 1

GenericStartRenderFunction · 0.80

Calls 3

StartRenderMethod · 0.95
SatelliteStartRenderMethod · 0.95
GetLocalProcessIdMethod · 0.45

Tested by

no test coverage detected