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

Method ComputeBounds

Rendering/WebGPU/vtkWebGPUPolyDataMapper.cxx:3794–3809  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3792
3793//------------------------------------------------------------------------------
3794void vtkWebGPUPolyDataMapper::ComputeBounds()
3795{
3796 this->CachedInput = this->GetInput();
3797 this->InvokeEvent(vtkCommand::StartEvent, nullptr);
3798 if (!this->Static)
3799 {
3800 this->GetInputAlgorithm()->Update();
3801 }
3802 this->InvokeEvent(vtkCommand::EndEvent, nullptr);
3803 if (!this->CachedInput)
3804 {
3805 vtkMath::UninitializeBounds(this->Bounds);
3806 return;
3807 }
3808 this->CachedInput->GetCellsBounds(this->Bounds);
3809}
3810
3811VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 6

UninitializeBoundsFunction · 0.85
InvokeEventMethod · 0.80
GetCellsBoundsMethod · 0.80
GetInputMethod · 0.45
UpdateMethod · 0.45
GetInputAlgorithmMethod · 0.45

Tested by

no test coverage detected