[vtkusers] Re: Re: Is there anyone who knows how to load a image fileasbackground in a RenderWindow?
Frederic Perez
fredericpcx at yahoo.es
Thu Nov 18 06:25:09 EST 2004
It certainly helps, Goodwin.
Thank you once more!
Frederic Perez
--- Goodwin Lawlor <goodwin.lawlor at ucd.ie> escribió:
> Hi Frederic,
>
> > I guess the same idea can be applied in order to visualize a
> > logo or small actor in front of everything else in the render
> > window.
>
> True, you could reverse the layer order to have the logo on top. See
> here
> for a caveat:
>
http://public.kitware.com/pipermail/vtkusers/2004-February/071584.html
>
> For a logo, it might be easier to use a vtkImageMapper and vtkActor2D
> to
> control the position in the render window ("actor SetPosition"). So
> instead
> of a vtkImageActor, you could use:
>
> vtkImageMapper imapper
> imapper SetInput [reader GetOutput]
> imapper SetColorLevel 128
> imapper SetColorWindow 255
> vtkActor2D actor
> actor SetMapper imapper
>
>
> hth
>
>
> Goodwin
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://www.vtk.org/Wiki/VTK_FAQ>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
______________________________________________
Renovamos el Correo Yahoo!: ¡100 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es
More information about the vtkusers
mailing list