[vtkusers] how to interpret the color spectrum in vtkLookUpTable

Sylvain Jaume sylvain.jaume at kitware.com
Tue Nov 8 15:08:34 EST 2005


Hi Kiran,

You could display a vtkScalarBarActor to visualize the color mapping. 
Did you set the scalar range in your vtkLookupTable and vtkPolyDataMapper ?

Cheers,
Sylvain

kshivann at engineering.uiowa.edu wrote:

>hi all,
>    i am plotting difference in the distance between the two surfaces  as a
>scalar. the distances start from 0 and do not have an upper limit. it is not
>clear how the distance values are converted to color values. should i normalize
>the distance values so that the maximum distance is 1.
>
>thanks
>
>kiran
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>  
>



More information about the vtkusers mailing list