------------------------------------------------------------------------------
| 66 | |
| 67 | //------------------------------------------------------------------------------ |
| 68 | void vtkCellIterator::GetCell(vtkGenericCell* cell) |
| 69 | { |
| 70 | cell->SetCellType(this->GetCellType()); |
| 71 | cell->SetPointIds(this->GetPointIds()); |
| 72 | cell->SetPoints(this->GetPoints()); |
| 73 | |
| 74 | if (cell->RequiresExplicitFaceRepresentation()) |
| 75 | { |
| 76 | vtkCellArray* faces = this->GetCellFaces(); |
| 77 | |
| 78 | if (faces->GetNumberOfCells() != 0) |
| 79 | { |
| 80 | cell->SetCellFaces(faces); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | if (cell->RequiresInitialization()) |
| 85 | { |
| 86 | cell->Initialize(); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | //------------------------------------------------------------------------------ |
| 91 | vtkCellIterator::vtkCellIterator() |
nothing calls this directly
no test coverage detected