[vtkusers] Set Different Opacity Value to Different GrayScale to DisplayImage
David Doria
daviddoria at gmail.com
Mon Jun 3 07:49:07 EDT 2013
On Mon, Jun 3, 2013 at 5:00 AM, Hongsongyang <hongsongyang at 163.com> wrote:
> Dear All:
> Currently, we can set different opacity value to different actors.
> However, if we only display one gray scale image. Could we set different
> opacity value to different Gray scale pixel points? If it is possible,
> some useless points in a image will not be shown or in transparent state.
>
> (Color Image is the same problem, whether we could set different opacity
> value to different RGB pixel points).
>
> Thanks a lot.
>
> Best regards.
> Hong Songyang
I believe this is what you're looking for:
http://www.vtkedge.org/Wiki/VTK/Examples/Cxx/Images/Transparency
David
More information about the vtkusers
mailing list