[vtkusers] How to change the color of a specific vertex in a mesh

Dominik Szczerba domi at vision.ee.ethz.ch
Tue Apr 3 10:58:00 EDT 2007


You should think data not colors. VTK is not to paint but to visualize. Your 
data is mapped (via lookup tables) to colors and these you can see. You have 
to modify your scalar field, call Modified(), and the changes will be there. 
How to modify mapping to colors is a longer story: start your RTFM from 
lookup tables.
Dominik

On Tuesday 03 April 2007 16:50, Syn3DDM wrote:
> Hi
> I want to know how to color selected vertices from a mesh.
>
> thank you in advance!
> regards

-- 
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list