------------------------------------------------------------------------------ Description: Recursive duplication of `other' in `this'. \pre other_exists: other!=0 \pre not_self: other!=this
| 368 | // \pre other_exists: other!=0 |
| 369 | // \pre not_self: other!=this |
| 370 | void vtkBridgeAttribute::DeepCopy(vtkGenericAttribute* other) |
| 371 | { |
| 372 | assert("pre: other_exists" && other != nullptr); |
| 373 | assert("pre: not_self" && other != this); |
| 374 | vtkBridgeAttribute* o = static_cast<vtkBridgeAttribute*>(other); |
| 375 | |
| 376 | vtkSetObjectBodyMacro(Pd, vtkPointData, o->Pd); |
| 377 | vtkSetObjectBodyMacro(Cd, vtkCellData, o->Cd); |
| 378 | this->Data = o->Data; |
| 379 | this->AttributeNumber = o->AttributeNumber; |
| 380 | this->AllocateInternalTuple(this->GetNumberOfComponents()); |
| 381 | } |
| 382 | |
| 383 | //------------------------------------------------------------------------------ |
| 384 | // Description: |
nothing calls this directly
no test coverage detected