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

Method ShallowCopy

Common/DataModel/vtkSelectionNode.cxx:168–179  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

166
167//------------------------------------------------------------------------------
168void vtkSelectionNode::ShallowCopy(vtkSelectionNode* input)
169{
170 if (!input)
171 {
172 return;
173 }
174 this->Initialize();
175 this->Properties->Copy(input->Properties, 0);
176 this->SelectionData->ShallowCopy(input->SelectionData);
177 this->SetQueryString(input->GetQueryString());
178 this->Modified();
179}
180
181//------------------------------------------------------------------------------
182void vtkSelectionNode::DeepCopy(vtkSelectionNode* input)

Callers

nothing calls this directly

Calls 5

InitializeMethod · 0.95
SetQueryStringMethod · 0.80
GetQueryStringMethod · 0.80
CopyMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected