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

Method DeepCopy

Common/DataModel/vtkCartesianGrid.cxx:80–91  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

78
79//------------------------------------------------------------------------------
80void vtkCartesianGrid::DeepCopy(vtkDataObject* dataObject)
81{
82 vtkCartesianGrid* grid = vtkCartesianGrid::SafeDownCast(dataObject);
83 if (grid)
84 {
85 // set extent sets, extent, dimensions, and data description
86 this->SetExtent(grid->Extent);
87 }
88
89 // Do superclass
90 this->Superclass::DeepCopy(dataObject);
91}
92
93//------------------------------------------------------------------------------
94void vtkCartesianGrid::CopyStructure(vtkDataSet* ds)

Callers

nothing calls this directly

Calls 1

SetExtentMethod · 0.95

Tested by

no test coverage detected