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

Method ShallowCopy

Common/DataModel/vtkHyperTreeGrid.cxx:1060–1072  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1058
1059//------------------------------------------------------------------------------
1060void vtkHyperTreeGrid::ShallowCopy(vtkDataObject* src)
1061{
1062 vtkHyperTreeGrid* htg = vtkHyperTreeGrid::SafeDownCast(src);
1063 assert("src_same_type" && htg);
1064
1065 // Copy member variables
1066 this->CopyStructure(htg);
1067
1068 this->CellData->ShallowCopy(htg->GetCellData());
1069
1070 // Call superclass
1071 this->Superclass::ShallowCopy(src);
1072}
1073
1074//------------------------------------------------------------------------------
1075void vtkHyperTreeGrid::DeepCopy(vtkDataObject* src)

Callers

nothing calls this directly

Calls 3

CopyStructureMethod · 0.95
assertFunction · 0.50
GetCellDataMethod · 0.45

Tested by

no test coverage detected