------------------------------------------------------------------------------
| 17 | |
| 18 | //------------------------------------------------------------------------------ |
| 19 | void vtkUnstructuredGridBase::DeepCopy(vtkDataObject* src) |
| 20 | { |
| 21 | this->Superclass::DeepCopy(src); |
| 22 | |
| 23 | if (vtkDataSet* ds = vtkDataSet::SafeDownCast(src)) |
| 24 | { |
| 25 | vtkSmartPointer<vtkCellIterator> cellIter = |
| 26 | vtkSmartPointer<vtkCellIterator>::Take(ds->NewCellIterator()); |
| 27 | for (cellIter->InitTraversal(); !cellIter->IsDoneWithTraversal(); cellIter->GoToNextCell()) |
| 28 | { |
| 29 | this->InsertNextCell(cellIter->GetCellType(), cellIter->GetNumberOfPoints(), |
| 30 | cellIter->GetPointIds()->GetPointer(0), cellIter->GetCellFaces()); |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | //------------------------------------------------------------------------------ |
| 36 | vtkUnstructuredGridBase* vtkUnstructuredGridBase::GetData(vtkInformation* info) |
nothing calls this directly
no test coverage detected