[vtkusers] Why DeepCopy creates pointers?

xabivtk xabivtk at gmail.com
Mon Apr 2 11:26:03 EDT 2012


Hello all,

I'm wondering why DeepCopy creates pointers even if source object does not
have them.

For example, in pseudo code:
vtkPolyData p1, p2
p1->DeepCopy(p2)

p2 keeps its pointers (points, verts, lines, polys, etc...) to 0 whereas p1
allocates them all.

I was expecting that my 2 polydatas would be in a same state.
Is there a reason for that?

Thanks for your insights.

--
View this message in context: http://vtk.1045678.n5.nabble.com/Why-DeepCopy-creates-pointers-tp5612788p5612788.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list