[vtkusers] Different alpha values for scalars

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Fri Mar 19 07:59:49 EDT 2010


Sounds good.
Than how can I set three different alpha values for three different 
scalar intervalls?

Am 17.03.2010 21:45, schrieb Sebastien Jourdain:
> You can also set alpha in your lookuptable...
>
> On Wed, Mar 17, 2010 at 9:29 AM, Sebastian Gatzka 
> <sebastian.gatzka at stud.tu-darmstadt.de 
> <mailto:sebastian.gatzka at stud.tu-darmstadt.de>> wrote:
>
>     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
>>         <mailto: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 <mailto: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
>>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Please keep messages on-topic and check the VTK FAQ at:
>     http://www.vtk.org/Wiki/VTK_FAQ
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100319/1a9e37ac/attachment.htm>


More information about the vtkusers mailing list