Thanks, but I have resolved.<div>how I did It needed an update in vtkImageData before of copying the data.</div><div><br></div><div>imagedata->Update();</div><div> imagedata2 = vtkImageData::New();<br> imagedata2->ShallowCopy(imagedata);</div>
<div><br></div><div>Thanks very much!</div><div><br><br><div class="gmail_quote">2010/9/20 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mon, Sep 20, 2010 at 4:09 PM, Héber de Padua Sousa<br>
<<a href="mailto:hebersousa@gmail.com">hebersousa@gmail.com</a>> wrote:<br>
> How can I copy the data of vtkImageData to another vtkImageData ? I had<br>
> tried ShallowCopy, DeepCopy, StructureCopy but without sucess.<br>
> The image can't be rendering.<br>
> Ex:<br>
> imagedata2 = vtkImageData::New();<br>
> imagedata2->ShallowCopy(imagedata);<br>
<br>
</div></div>Can you post a very short piece of compilable code that demonstrates<br>
that this doesn't work?<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>>> Héber de Padua Sousa<br>/~heber<br>
</div>