[vtkusers] Different alpha values for scalars

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Wed Mar 17 09:29:15 EDT 2010


Sounds good.

And how can I mange to unite three different actors on one single 
cutting plane?

Sebastian

Am 10.03.2010 16:05, schrieb Rakesh Patil:
> hi..
>
> one option is you can use vtkThreshold, if your threshold ranges are 
> fiixed.. Like in your example, there are three conditions.. So three 
> times, u can use vtkThreshold class and create that many actors..
>
> Any other way is there my friends..??
>
> Thanks
>
> Regards
> Rakesh Patil
>
>
>     ---------- Original message ----------
>     From:Sebastian Gatzka< sebastian.gatzka at stud.tu-darmstadt.de >
>     Date: 10 Mar 10 17:50:06
>     Subject: [vtkusers] Different alpha values for scalars
>     To: vtkusers at vtk.org
>
>
>
>     Hello world.
>
>     Do you know if it's possible to assign different alpha values to a
>     scalar field representation (for example on a cutting plane)?
>
>     I want to have scalar to be more transparent if they are below
>     some defined threshold.
>     For example something like this
>
>         * scalar < 0.1 : alpha = 0.3
>         * 0.1 < scalar < 0.5 : alpha = 0.7
>         * scalar > 0.5 : alpha = 1.0
>
>     Do you know how I can manage this?
>
>     Sebastian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100317/3167e02e/attachment.htm>


More information about the vtkusers mailing list