[vtkusers] copy data of vtkImageData to another vtkImageData
David Doria
daviddoria at gmail.com
Mon Sep 20 16:14:50 EDT 2010
On Mon, Sep 20, 2010 at 4:09 PM, Héber de Padua Sousa
<hebersousa at gmail.com> wrote:
> How can I copy the data of vtkImageData to another vtkImageData ? I had
> tried ShallowCopy, DeepCopy, StructureCopy but without sucess.
> The image can't be rendering.
> Ex:
> imagedata2 = vtkImageData::New();
> imagedata2->ShallowCopy(imagedata);
Can you post a very short piece of compilable code that demonstrates
that this doesn't work?
David
More information about the vtkusers
mailing list