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

Method ShallowCopy

Common/DataModel/vtkCell.cxx:138–147  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

136
137//------------------------------------------------------------------------------
138void vtkCell::ShallowCopy(vtkCell* c)
139{
140 this->Points->ShallowCopy(c->Points);
141 if (this->PointIds)
142 {
143 this->PointIds->UnRegister(this);
144 this->PointIds = c->PointIds;
145 this->PointIds->Register(this);
146 }
147}
148
149//------------------------------------------------------------------------------
150void vtkCell::DeepCopy(vtkCell* c)

Callers 15

NewImageDataCopyMethod · 0.45
IntersectWithLineMethod · 0.45
IntersectWithLineMethod · 0.45
testMethod · 0.45
TestShallowCopyFunction · 0.45
test_rg3dFunction · 0.45
TestPolyhedralCellsInUGFunction · 0.45
otherFieldDataFunction · 0.45
TestNonOverlappingAMRFunction · 0.45

Calls 2

UnRegisterMethod · 0.45
RegisterMethod · 0.45

Tested by 11

testMethod · 0.36
TestShallowCopyFunction · 0.36
test_rg3dFunction · 0.36
TestPolyhedralCellsInUGFunction · 0.36
TestNonOverlappingAMRFunction · 0.36
TestOIDFunction · 0.36
TestOUG_3dFunction · 0.36
TestOSG_3dFunction · 0.36