[vtkusers] ColorBar, PolyData and exclusion value rendering

vlibertiaux vlibertiaux at gmail.com
Fri Apr 8 14:45:51 EDT 2011


Hi everyone !

Here is my issue: I have a sampling grid which I transform into a polydata
using a delaunay2d triangulation.
Each point of the grid has an associated scalar value which is interpolated
when I perform the triangulation.  Let's say that those values range between
0 and 1.  Some points are attributed an exclusion value (-100).

I can easily scale the colorbar so that the values are between 0 and 1 but
then all my exclusion values appear has 0's.  

What can I do to conserve my colorbar with valid values and render my
exclusions values in a different color ?

Thank you very much for your help,

best regards,

V.

--
View this message in context: http://vtk.1045678.n5.nabble.com/ColorBar-PolyData-and-exclusion-value-rendering-tp4291676p4291676.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list