[vtkusers] vtkImageCast Extent-problem
Leila Baghdadi
baghdadi at sickkids.ca
Wed Aug 20 12:38:59 EDT 2003
Florian
I believe you must call Update() and/or UpdateInformation() or even
Modified() to somehow let the pipeline know that the data has changed
hope this helps
Leila
On Wed, 20 Aug 2003, Florian Schmidt wrote:
>
> Hi,
>
> i have a volume rendering pipeline which is very basic and the first step in it is a vtkImageCast to get the data into unsigned short format. Now here's the problem:
>
> The first vtkImageData which is fed into the pipeline is rendered correctly, but when i lateron change the input of the vtkImageCast to a new vtkImageData [with a different Extent], somehow only the old extent is rendered.
>
> Here's some more details: First i setup the rendering pipeline with some dummy data which is vtkImageData with an extent like 0,32,0,32,0,32. Lateron upon user interaction i want to render a volume of extent 0,256,0,128,0,64, but only the part of this imagedata which fits into the 0,32,0,32,0,32 extent is rendered.. what am i doing wrong? Can i somehow tell the pipeline to propagate the changed extent from the start to the end?
>
> If you need more details or example code, let me know..
>
> T.I.A. Florian Schmidt
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list