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

Method DeepCopy

Common/DataModel/vtkStructuredGrid.cxx:440–449  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

438
439//------------------------------------------------------------------------------
440void vtkStructuredGrid::DeepCopy(vtkDataObject* dataObject)
441{
442 auto mkhold = vtkMemkindRAII(this->GetIsInMemkind());
443 vtkStructuredGrid* grid = vtkStructuredGrid::SafeDownCast(dataObject);
444 if (grid != nullptr)
445 {
446 this->InternalStructuredGridCopy(grid);
447 }
448 this->Superclass::DeepCopy(dataObject);
449}
450
451//------------------------------------------------------------------------------
452// This copies all the local variables (but not objects).

Callers

nothing calls this directly

Calls 3

vtkMemkindRAIIFunction · 0.85
GetIsInMemkindMethod · 0.80

Tested by

no test coverage detected