----------------------------------------------------------------------------
| 3571 | |
| 3572 | //---------------------------------------------------------------------------- |
| 3573 | void ClonePoints(vtkPointSet* ps, vtkPointSet* clone, ::UnstructuredDataInformation& info) |
| 3574 | { |
| 3575 | if (vtkIdList* redirectionMap = info.OutputToInputPointIdRedirectionMap) |
| 3576 | { |
| 3577 | ps->GetPoints()->GetData()->GetTuples(redirectionMap, clone->GetPoints()->GetData()); |
| 3578 | } |
| 3579 | else |
| 3580 | { |
| 3581 | vtkPoints* sourcePoints = ps->GetPoints(); |
| 3582 | sourcePoints->GetData()->GetTuples( |
| 3583 | 0, sourcePoints->GetNumberOfPoints() - 1, clone->GetPoints()->GetData()); |
| 3584 | } |
| 3585 | } |
| 3586 | |
| 3587 | //============================================================================ |
| 3588 | template <class ArrayT> |
no test coverage detected