Vincent, <div><br></div><div>thank you for your prompt reply.</div><div><br></div><div>I figured out why it was not working. My understanding of vtkImageData was incorrect and hence I was using it incorrectly.</div><div><br>

</div><div>I was actually using the vtkImageData for unstructured Data, so the vtkImageData object was not beeing populated correctly. When I switched to vtkUnstructuredGrid or vtkPolyData, I got my data working.</div><div>

<br></div><div>Thank you,</div><div>Victor<br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 12:00 PM, vlibertiaux <span dir="ltr">&lt;<a href="mailto:vlibertiaux@gmail.com">vlibertiaux@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Victor,<br>
<br>
First of all, let me say that I am not a vtk specialist (I have only been<br>
using it for a couple of weeks).  But a quick research in the documentation<br>
gave me the following idea:<br>
<br>
maybe you want to use the vtkMergeFields class to get a two scalar<br>
components ImageData, one for the temperature and one for the depth.<br>
<br>
Hope it helps,<br>
<br>
best regards,<br>
<br>
Vincent<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Problem-with-vtkImageData-tp3401014p3403691.html" target="_blank">http://vtk.1045678.n5.nabble.com/Problem-with-vtkImageData-tp3401014p3403691.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a></blockquote></div>
</div>