[vtkusers] SetDataSpacing in vtkTIFFReader

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jun 2 08:33:10 EDT 2008


Hi Flory,

  You need to use vtkImageChangeInformation for that. do not try to
change value directly on the output of a filter which might reexecute.

-Mathieu

On Tue, May 27, 2008 at 12:56 PM, flory <florysf at gmail.com> wrote:
>
> Hello everyone,
>
>    I want to read a set of images with vtkTIFFReader, it works fine but if
> I set the SetSpacingData to some values the x and y spacings are 1 all the
> time even if I set different values. The z spacing works fine and I don't
> know what is the problem.
> Did anyone manage to read tiff files and also set the spacing? I use VTK
> with Java wrapping.
>
> Thanks a lot!
>                   Flory
> --
> View this message in context: http://www.nabble.com/SetDataSpacing-in-vtkTIFFReader-tp17487796p17487796.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Mathieu



More information about the vtkusers mailing list