| 308 | } |
| 309 | using vtkDataArray::DeepCopy; |
| 310 | void DeepCopy(vtkDataArray* da) override |
| 311 | { |
| 312 | if (da == nullptr || da == this) |
| 313 | { |
| 314 | return; |
| 315 | } |
| 316 | // dispatch to the templated version if possible |
| 317 | if (auto otherImplicit = vtkImplicitArray<BackendT, ArrayTypeTag::value>::FastDownCast(da)) |
| 318 | { |
| 319 | this->ImplicitDeepCopy(otherImplicit); |
| 320 | } |
| 321 | else |
| 322 | { |
| 323 | // otherwise fallback to generic implementation that will copy all values |
| 324 | this->vtkDataArray::DeepCopy(da); |
| 325 | } |
| 326 | } |
| 327 | ///@} |
| 328 | |
| 329 | ///@{ |
nothing calls this directly
no test coverage detected