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

Method operator()

Common/DataModel/vtkDataSet.cxx:432–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430 void Initialize() {}
431
432 void operator()(vtkIdType begin, vtkIdType end)
433 {
434 if (!this->DS)
435 {
436 return;
437 }
438 auto& localDistinctCellTypes = this->LocalDistinctCellTypes.Local();
439
440 for (vtkIdType idx = begin; idx < end; ++idx)
441 {
442 unsigned char cellType = static_cast<unsigned char>(this->DS->GetCellType(idx));
443 localDistinctCellTypes.insert(cellType);
444 }
445 }
446
447 void Reduce()
448 {

Callers

nothing calls this directly

Calls 2

GetCellTypeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected