------------------------------------------------------------------------------
| 109 | |
| 110 | //------------------------------------------------------------------------------ |
| 111 | void vtkWebGPUComputePointCloudMapper::ComputeBounds() |
| 112 | { |
| 113 | // Caching the input so that it can be reused by the function that uploads |
| 114 | this->Internals->CachedInput = this->GetInput(); |
| 115 | |
| 116 | this->InvokeEvent(vtkCommand::StartEvent, nullptr); |
| 117 | if (!this->Static) |
| 118 | { |
| 119 | this->GetInputAlgorithm()->Update(); |
| 120 | } |
| 121 | this->InvokeEvent(vtkCommand::EndEvent, nullptr); |
| 122 | if (!this->Internals->CachedInput) |
| 123 | { |
| 124 | vtkMath::UninitializeBounds(this->Bounds); |
| 125 | return; |
| 126 | } |
| 127 | |
| 128 | // Only considering the bounds of the points, not the cells |
| 129 | this->Internals->CachedInput->GetPoints()->GetBounds(this->Bounds); |
| 130 | } |
nothing calls this directly
no test coverage detected