------------------------------------------------------------------------------
| 733 | |
| 734 | //------------------------------------------------------------------------------ |
| 735 | void vtkPDistributedDataFilter::ComputeMyRegionBounds() |
| 736 | { |
| 737 | delete[] this->ConvexSubRegionBounds; |
| 738 | this->ConvexSubRegionBounds = nullptr; |
| 739 | |
| 740 | vtkIntArray* myRegions = vtkIntArray::New(); |
| 741 | |
| 742 | this->Kdtree->GetRegionAssignmentList(this->MyId, myRegions); |
| 743 | |
| 744 | if (myRegions->GetNumberOfTuples() > 0) |
| 745 | { |
| 746 | this->NumConvexSubRegions = |
| 747 | this->Kdtree->MinimalNumberOfConvexSubRegions(myRegions, &this->ConvexSubRegionBounds); |
| 748 | } |
| 749 | else |
| 750 | { |
| 751 | this->NumConvexSubRegions = 0; |
| 752 | } |
| 753 | |
| 754 | myRegions->Delete(); |
| 755 | } |
| 756 | |
| 757 | //------------------------------------------------------------------------------ |
| 758 | int vtkPDistributedDataFilter::CheckFieldArrayTypes(vtkDataSet* set) |
no test coverage detected