[vtkusers] vtkImageCast Extent-problem
Florian Schmidt
mista.tapas at gmx.net
Wed Aug 20 12:29:14 EDT 2003
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
More information about the vtkusers
mailing list