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

Method ShallowCopy

Common/DataModel/vtkUniformHyperTreeGrid.cxx:402–412  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

400
401//------------------------------------------------------------------------------
402void vtkUniformHyperTreeGrid::ShallowCopy(vtkDataObject* src)
403{
404 vtkHyperTreeGrid* uhtg = vtkUniformHyperTreeGrid::SafeDownCast(src);
405 assert("src_same_type" && uhtg);
406
407 // Copy member variables
408 this->CopyStructure(uhtg);
409
410 // Call superclass
411 this->Superclass::ShallowCopy(src);
412}
413
414//------------------------------------------------------------------------------
415void vtkUniformHyperTreeGrid::DeepCopy(vtkDataObject* src)

Callers

nothing calls this directly

Calls 2

CopyStructureMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected