[vtkusers] Dynamic Pipeline changes
Matthieu Ferrant
ferrant at tele.ucl.ac.be
Tue Jul 31 03:04:13 EDT 2001
I would do a deepcopy : vtkImageData DeepCopy [vtkImageLuminance
GetOutput]. Make sure you have updated the whole extent of the previous
filter before doing this.
matt
Robert Mitchell wrote:
>
> Hi Users,
>
> Just wondering, if I've set up a pipeline;
>
> vtkBMPReader - vtkImageClip - vtkImageLuminance - vtkImageData ---To
> Process manually
> &
> vtkBMPReader - vtkImageClip - vtkImageLuminance - vtkImageActor---To
> View in window
> (up to vtkImageLuminance are the same objects)
>
> Then, from interaction, I want to get rid of the BMPReader, clipper and
> ImageLuminance and have the ImageData (now changed) as input into the
> ImageActor. How does one do that - I have just deleted the ImageData
> then created it again, and set it as input into the Actor, although I'm
> running into problems when the remaining items are deleted in my
> destructor. Do I need to do some tweeking with the reference counting or
> is there a simple way of disconnecting joints in a pipeline and
> rejoining with other elements?
> Cheers,
> Rob
>
> --
> Robert Mitchell
> Faculty of Engineering
> University of Technology, Sydney
> +61 2 9514 2317
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
--
M.Ferrant, Ph.D.
UCL/TELE Room A-157 Place du Levant, 2 B-1348LLN - Belgium
Tel. +32-10-478073 Fax. : +32-10-472089
http://www.tele.ucl.ac.be/MEMBERS/Ferrant_Matthieu_e.html
More information about the vtkusers
mailing list