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

Method ComputeBoundsInternal

Common/DataModel/vtkCellGrid.cxx:828–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828bool 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
845bool vtkCellGrid::ComputeRangeInternal(
846 vtkCellAttribute* attribute, int component, bool finiteRange) const

Callers 1

GetBoundsMethod · 0.95

Calls 6

GetShapeAttributeMethod · 0.95
QueryMethod · 0.95
UninitializeBoundsFunction · 0.85
dataMethod · 0.45
ModifiedMethod · 0.45
GetBoundsMethod · 0.45

Tested by

no test coverage detected