| 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 {} |
nothing calls this directly
no test coverage detected