MCPcopy Create free account
hub / github.com/Kitware/VTK / operator()

Method operator()

Filters/Geometry/vtkGeometryFilter.cxx:1808–1829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1806 }
1807
1808 void operator()(vtkIdType faceBeginCellId, vtkIdType faceEndCellId)
1809 {
1810 const bool isFirst = vtkSMPTools::GetSingleThread();
1811 if (this->AllCellsVisible || this->ForceSimpleVisibilityCheck)
1812 {
1813 this->FaceOperator(faceBeginCellId, faceEndCellId);
1814 if (isFirst)
1815 {
1816 this->Self->UpdateProgress(0.05 * (this->CurrentAxis + !this->MinFace) +
1817 (0.05 * faceEndCellId / this->NumberOfFaces));
1818 }
1819 }
1820 else
1821 {
1822 this->ShrinkingFacesOperator(faceBeginCellId, faceEndCellId);
1823 if (isFirst)
1824 {
1825 this->Self->UpdateProgress(
1826 0.1 * this->CurrentAxis + (0.1 * faceEndCellId / this->NumberOfFaces));
1827 }
1828 }
1829 } // operator()
1830
1831 // Composite local thread data
1832 void Reduce() override {}

Callers

nothing calls this directly

Calls 3

FaceOperatorMethod · 0.95
UpdateProgressMethod · 0.45

Tested by

no test coverage detected