| 826 | } |
| 827 | |
| 828 | bool vtkCellGrid::ComputeBoundsInternal() |
| 829 | { |
| 830 | if (!this->HaveShape || !this->GetShapeAttribute()) |
| 831 | { |
| 832 | vtkMath::UninitializeBounds(this->CachedBounds.data()); |
| 833 | this->CachedBoundsTime.Modified(); |
| 834 | } |
| 835 | vtkNew<vtkCellGridBoundsQuery> bq; |
| 836 | if (this->Query(bq)) |
| 837 | { |
| 838 | bq->GetBounds(this->CachedBounds.data()); |
| 839 | this->CachedBoundsTime.Modified(); |
| 840 | return true; |
| 841 | } |
| 842 | return false; |
| 843 | } |
| 844 | |
| 845 | bool vtkCellGrid::ComputeRangeInternal( |
| 846 | vtkCellAttribute* attribute, int component, bool finiteRange) const |
no test coverage detected