In fact if you build your own lookuptable, and you put your own color in it, you are able to put color with alpha. I do not remember exactly the method names. But then the alpha transition might be smoother than the one you want. <br>
For your example you can fill your lut with 4 color and set properly the lut scalar range to behave as closely as you are expecting.<br><br>- blue+aplha=0.3<br>- green+aplha=0.7<br>- yellow+aplha=0.7<br>- red+alpha=1<br><br>
Hope this could help...<br><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 7:59 AM, Sebastian Gatzka <span dir="ltr"><<a href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Sounds good.<br>
Than how can I set three different alpha values for three different
scalar intervalls?<br>
</font></font><br>
Am 17.03.2010 21:45, schrieb Sebastien Jourdain:
<div><div></div><div class="h5"><blockquote type="cite">You can also set alpha in your lookuptable...<br>
<br>
<div class="gmail_quote">On Wed, Mar 17, 2010 at 9:29 AM, Sebastian
Gatzka <span dir="ltr"><<a href="mailto:sebastian.gatzka@stud.tu-darmstadt.de" target="_blank">sebastian.gatzka@stud.tu-darmstadt.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Sounds
good.<br>
<br>
And how can I mange to unite three different actors on one single
cutting plane?<br>
<br>
Sebastian<br>
</font></font><br>
Am 10.03.2010 16:05, schrieb Rakesh Patil:
<blockquote type="cite"> hi..<br>
<br>
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..<br>
<br>
Any other way is there my friends..??<br>
<br>
Thanks<br>
<br>
Regards<br>
Rakesh Patil<br>
<br>
<blockquote><br>
---------- Original message ----------<br>
From:Sebastian Gatzka< <a href="mailto:sebastian.gatzka@stud.tu-darmstadt.de" target="_blank">sebastian.gatzka@stud.tu-darmstadt.de</a>
><br>
Date: 10 Mar 10 17:50:06<br>
Subject: [vtkusers] Different alpha values for scalars<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<br>
<br>
<br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hello
world.<br>
<br>
Do you know if it's possible to assign different alpha values to a
scalar field representation (for example on a cutting plane)?<br>
<br>
I want to have scalar to be more transparent if they are below some
defined threshold.<br>
For example something like this<br>
</font></font>
<ul>
<li><small><font face="Helvetica, Arial, sans-serif">scalar
<
0.1
: alpha = 0.3</font></small></li>
<li><small><font face="Helvetica, Arial, sans-serif">0.1 <
scalar
< 0.5 : alpha = 0.7</font></small></li>
<li><small><font face="Helvetica, Arial, sans-serif">scalar
>
0.5
: alpha = 1.0</font></small></li>
</ul>
<font face="Helvetica, Arial, sans-serif"><small>Do you know
how I
can
manage this?</small><br>
<br>
<small>Sebastian</small></font><br>
<br>
</blockquote>
</blockquote>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
</div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>