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

Method ShallowCopy

Common/DataModel/vtkCartesianGrid.cxx:66–77  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

64
65//------------------------------------------------------------------------------
66void vtkCartesianGrid::ShallowCopy(vtkDataObject* dataObject)
67{
68 vtkCartesianGrid* grid = vtkCartesianGrid::SafeDownCast(dataObject);
69 if (grid)
70 {
71 // set extent sets, extent, dimensions, and data description
72 this->SetExtent(grid->Extent);
73 }
74
75 // Do superclass
76 this->Superclass::ShallowCopy(dataObject);
77}
78
79//------------------------------------------------------------------------------
80void vtkCartesianGrid::DeepCopy(vtkDataObject* dataObject)

Callers

nothing calls this directly

Calls 1

SetExtentMethod · 0.95

Tested by

no test coverage detected