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

Method ShallowCopy

Rendering/Core/vtkAssemblyPath.cxx:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void vtkAssemblyPath::ShallowCopy(vtkAssemblyPath* path)
76{
77 this->RemoveAllItems();
78
79 vtkAssemblyNode* node;
80 for (path->InitTraversal(); (node = path->GetNextNode());)
81 {
82 this->vtkCollection::AddItem(node);
83 }
84}
85
86vtkMTimeType vtkAssemblyPath::GetMTime()
87{

Callers

nothing calls this directly

Calls 3

GetNextNodeMethod · 0.80
RemoveAllItemsMethod · 0.45
InitTraversalMethod · 0.45

Tested by

no test coverage detected