Reset the find region arrays to test another region
| 668 | |
| 669 | // Reset the find region arrays to test another region |
| 670 | void vtkLoopBooleanPolyDataFilter::Impl::ResetCheckArrays() |
| 671 | { |
| 672 | for (int i = 0; i < 2; i++) |
| 673 | { |
| 674 | int numPolys = this->Mesh[i]->GetNumberOfCells(); |
| 675 | for (vtkIdType cellId = 0; cellId < numPolys; cellId++) |
| 676 | { |
| 677 | if (this->BoundaryCellArray[i]->GetValue(cellId) == 1) |
| 678 | { |
| 679 | this->Checked[i][cellId] = 1; |
| 680 | this->CheckedCarefully[i][cellId] = 0; |
| 681 | } |
| 682 | else |
| 683 | { |
| 684 | this->Checked[i][cellId] = 0; |
| 685 | this->CheckedCarefully[i][cellId] = 1; |
| 686 | } |
| 687 | } |
| 688 | } |
| 689 | } |
| 690 | |
| 691 | // Set the boundary arrays on the mesh |
| 692 | void vtkLoopBooleanPolyDataFilter::Impl::SetBoundaryArrays() |
no test coverage detected