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

Method DeepCopy

Common/Core/vtkAbstractArray.cxx:287–306  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

285
286//------------------------------------------------------------------------------
287void vtkAbstractArray::DeepCopy(vtkAbstractArray* da)
288{
289 if (!da || da == this)
290 {
291 return;
292 }
293
294 if (da->HasInformation())
295 {
296 this->CopyInformation(da->GetInformation(), /*deep=*/1);
297 }
298 else
299 {
300 this->SetInformation(nullptr);
301 }
302
303 this->SetName(da->Name);
304
305 this->CopyComponentNames(da);
306}
307
308//------------------------------------------------------------------------------
309void vtkAbstractArray::ExportToVoidPointer(void* dest)

Callers

nothing calls this directly

Calls 5

CopyInformationMethod · 0.95
SetInformationMethod · 0.95
CopyComponentNamesMethod · 0.95
GetInformationMethod · 0.45
SetNameMethod · 0.45

Tested by

no test coverage detected