[vtkusers] Scalar color / LookupTable / Interpolation problem...
mathieu.malaterre at kitware.com
Thu Dec 9 11:52:26 EST 2004
Is this what you are looking for ?
Thanks for providing code, it is always easier to understand the problem.
Jacques Charreyron-F264897 wrote:
> Dear vtk users,
> I guess i have the same problem as the one discribed in :
> but for thresholding purpose.
> Let's assume we have a quad in an unstructured grid with the following values at
> each vertex.
> We assign to the data set mapper a lut with ten colors and a color range from 0
> to 1
> 0.0------------------- 0.5
> | |
> | |
> 0.5 ------------------- 1.0
> The resulting rendering is a continuous color interpolation with millions of
> colors between vertices where I would like to have a color mapping using only 10
> colors. The SetInterpolationTo* method does not help.
> Here is a code snippet to reproduce the behavior
More information about the vtkusers