[vtkusers] Breaking the pipeline

Glen Lehmann glehmann at imaging.robarts.ca
Thu Aug 28 11:48:12 EDT 2003


Hi Mathias,

You likely need to call imageData->Update after you reset it's input.

Cheers,
Glen

Mathias Haack wrote:

>Hi all,
>
>I have the following pipeline with VTK 4.0.2:
>png image -> vtkPNGReader -> vtkImageData -> vtkImageActor -> ... -> display
>
>It works as it is supposed to be. Now I want to alter the vtkImageData using
>an image filter like vtkImageFlip, first I deepcopy the vtkImageData,
>using vtkImageFlip and deep copy it back to the vtkImageData.
>The result is an unchanged image on my display. I suppose the pipeline will
>read the image again (or use the cached image from the reader).
>
>I need to break the connection between the image reader and vtkImageData.
>
>How can I achieve this?
>
>
>Matthias
>
>  
>





More information about the vtkusers mailing list