------------------------------------------------------------------------------ Description: Compute the geometry bounding box.
| 475 | // Description: |
| 476 | // Compute the geometry bounding box. |
| 477 | void vtkBridgeDataSet::ComputeBounds() |
| 478 | { |
| 479 | if (this->GetMTime() > this->ComputeTime) |
| 480 | { |
| 481 | if (this->Implementation != nullptr) |
| 482 | { |
| 483 | this->Implementation->ComputeBounds(); |
| 484 | this->ComputeTime.Modified(); |
| 485 | const double* bounds = this->Implementation->GetBounds(); |
| 486 | memcpy(this->Bounds, bounds, sizeof(double) * 6); |
| 487 | } |
| 488 | else |
| 489 | { |
| 490 | vtkMath::UninitializeBounds(this->Bounds); |
| 491 | } |
| 492 | this->ComputeTime.Modified(); |
| 493 | } |
| 494 | } |
| 495 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected