[vtkusers] Blended image display
David Gobbi
dgobbi at irus.rri.ca
Thu Jun 21 11:19:56 EDT 2001
Using vtkTexture, vtkPlaneSource, vtkTextureMapToPlane, vtkDataSetMapper &
vtkActor inside a vtkRenderer will allow interactive blending by changing
the actor opacities. This will probably also work with vtkImageActor, which
would be a lot easier.
- David
On Thu, 21 Jun 2001, Matthieu Ferrant wrote:
> Hi,
>
> I would like to know if it is possible to blend and visualize two images
> within a single vtkImager. I have tried to create two 2D actors for both
> images, setting their respective opacities to 0.5, but I can only see
> the last image I add to the vtkImager. I also tried playing with
> SetDisplayLocationToBackground but that wouldn't change anything. I did
> experiment with the vtkImageBlend filter, but I'd like something more
> interactive (i.e. be able to slide from one image to another with
> varying opacity).
>
> What would be the best way to do this ?
>
> thanks,
>
> matt
>
>
> --
> 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
>
> _______________________________________________
> 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
>
More information about the vtkusers
mailing list