[vtkusers] colour a point with a specified color

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Thu Apr 4 16:17:17 EST 2002


Assing PointData to each point. (like zero for most and 1 for some), then
use PointData in the mapper and a lookup table with a rage of {0,1} and red
at one end, blue at the other (eg).

JB
----- Original Message -----
From: "sonia specher" <sonia_specher at yahoo.fr>
To: <vtkusers at public.kitware.com>
Sent: Thursday, April 04, 2002 6:20 PM
Subject: [vtkusers] colour a point with a specified color


> Hi,
> i have a polygon contained on a vtkPolyData and i want
> to colour some points of this poygon with a specified
> color. How can i do ?
> Thanks for your answer and have a nice day !
> Sonia.
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list