[vtkusers] Problem with vtkImageData

Victor Mateevitsi mvictoras at gmail.com
Thu Mar 3 05:34:23 EST 2011


Vincent,

thank you for your prompt reply.

I figured out why it was not working. My understanding of vtkImageData was
incorrect and hence I was using it incorrectly.

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.

Thank you,
Victor

On Mon, Feb 28, 2011 at 12:00 PM, vlibertiaux <vlibertiaux at gmail.com> wrote:

> Hi Victor,
>
> First of all, let me say that I am not a vtk specialist (I have only been
> using it for a couple of weeks).  But a quick research in the documentation
> gave me the following idea:
>
> maybe you want to use the vtkMergeFields class to get a two scalar
> components ImageData, one for the temperature and one for the depth.
>
> Hope it helps,
>
> best regards,
>
> Vincent
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Problem-with-vtkImageData-tp3401014p3403691.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110303/80c938de/attachment.htm>


More information about the vtkusers mailing list