CPlusPlus
VTK – What’s difference between deep copy and shallow copy in vtkPolyData ?
What’s the difference between deep copy and shallow copy in vtkPolyData? We can find an answer after reading the two interface’s implementation. ShallowCopy just changes the pointer pointing, two vtkPolydata objects share the individual elements. DeepCopy makes the current polydata have own points and cells, it copies every element. void Read more…