------------------------------------------------------------------------------ This copies all the local variables (but not objects).
| 1408 | //------------------------------------------------------------------------------ |
| 1409 | // This copies all the local variables (but not objects). |
| 1410 | void vtkImageData::InternalImageDataCopy(vtkImageData* src) |
| 1411 | { |
| 1412 | for (int idx = 0; idx < 3; ++idx) |
| 1413 | { |
| 1414 | this->Increments[idx] = src->Increments[idx]; |
| 1415 | this->Origin[idx] = src->Origin[idx]; |
| 1416 | this->Spacing[idx] = src->Spacing[idx]; |
| 1417 | } |
| 1418 | this->DirectionMatrix->DeepCopy(src->DirectionMatrix); |
| 1419 | this->ComputeTransforms(); |
| 1420 | // set extent sets, extent, dimensions, and data description |
| 1421 | this->SetExtent(src->GetExtent()); |
| 1422 | } |
| 1423 | |
| 1424 | //============================================================================ |
| 1425 | // Starting to make some more general methods that deal with any array |
no test coverage detected