MCPcopy Create free account
hub / github.com/Kitware/VTK / DeepCopy

Method DeepCopy

Common/DataModel/vtkImageData.cxx:1394–1406  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1392
1393//------------------------------------------------------------------------------
1394void vtkImageData::DeepCopy(vtkDataObject* dataObject)
1395{
1396 auto mkhold = vtkMemkindRAII(this->GetIsInMemkind());
1397 vtkImageData* imageData = vtkImageData::SafeDownCast(dataObject);
1398
1399 if (imageData != nullptr)
1400 {
1401 this->InternalImageDataCopy(imageData);
1402 }
1403
1404 // Do superclass
1405 this->Superclass::DeepCopy(dataObject);
1406}
1407
1408//------------------------------------------------------------------------------
1409// This copies all the local variables (but not objects).

Callers 2

CopyStructureMethod · 0.45
InternalImageDataCopyMethod · 0.45

Calls 3

InternalImageDataCopyMethod · 0.95
vtkMemkindRAIIFunction · 0.85
GetIsInMemkindMethod · 0.80

Tested by

no test coverage detected