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

Method SetCheckArrays

Filters/General/vtkLoopBooleanPolyDataFilter.cxx:742–761  ·  view source on GitHub ↗

Set the original finding region check arrays

Source from the content-addressed store, hash-verified

740
741// Set the original finding region check arrays
742void vtkLoopBooleanPolyDataFilter::Impl::SetCheckArrays()
743{
744 for (int i = 0; i < 2; i++)
745 {
746 // Get the number of Polys for scalar allocation
747 int numPolys = this->Mesh[i]->GetNumberOfPolys();
748
749 for (int j = 0; j < numPolys; j++)
750 {
751 if (this->Checked[i][j] == 0)
752 {
753 this->CheckedCarefully[i][j] = 1;
754 }
755 else
756 {
757 this->CheckedCarefully[i][j] = 0;
758 }
759 }
760 }
761}
762//------------------------------------------------------------------------------
763
764vtkStandardNewMacro(vtkLoopBooleanPolyDataFilter);

Callers 1

RequestDataMethod · 0.80

Calls 1

GetNumberOfPolysMethod · 0.80

Tested by

no test coverage detected