[vtkusers] Different alpha values for scalars
Rakesh Patil
rakeshthp at in.com
Wed Mar 10 10:05:06 EST 2010
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..??ThanksRegardsRakesh Patil Original message From:Sebastian Gatzka< sebastian.gatzka at stud.tudarmstadt.de >Date: 10 Mar 10 17:50:06Subject:[vtkusers] Different alpha values for scalarsTo: 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.0Do you know how I can manage this?Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100310/00af4653/attachment.htm>
More information about the vtkusers
mailing list