------------------------------------------------------------------------------ Copy the attribute data from one id to another. Make sure CopyAllocate() has been invoked before using this method.
| 907 | // Copy the attribute data from one id to another. Make sure CopyAllocate() has |
| 908 | // been invoked before using this method. |
| 909 | void vtkDataSetAttributes::CopyData(vtkDataSetAttributes* fromPd, vtkIdType fromId, vtkIdType toId) |
| 910 | { |
| 911 | for (const auto& i : this->RequiredArrays) |
| 912 | { |
| 913 | this->CopyTuple(fromPd->Data[i], this->Data[this->TargetIndices[i]], fromId, toId); |
| 914 | } |
| 915 | } |
| 916 | |
| 917 | //------------------------------------------------------------------------------ |
| 918 | void vtkDataSetAttributes::CopyData( |
no test coverage detected