[vtkusers] vtkImageData Cloning....

Najzero adrian.gabriel at 4plus.de
Mon Jul 9 04:57:23 EDT 2012


Hi,

that is quite easy.

DeepCopy() does not take the source, but the target.

So tmp->DeepCopy(volume) copies the contents of "tmp" (which is nothing)
into volume.

SO just call:
volume->DeepCopy(tmp);
tmp->Update(); //you may also skip this maybe

KR Adrian

--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageData-Cloning-tp5714544p5714545.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list