[vtkusers] No Effect for vtkLookupTable on Triangulated PolyDataMapper

Kevin Tiow Wee Tan twtan at cheerful.com
Wed May 21 10:54:40 EDT 2003


Hi,
How are you?

I have digitised a series of points, and used vtkDelaunay2D to
triangulate those points.  This vtkDelaunay2D class works perfectly in
terms of triangulation.

Now I would like to attach colour mapping onto the polygon from a
vtkLookupTable, where used the range of values in Z position as the
correspondence range of colour (red-green-blue).

I did the normal create a lookup table, and set the table within the
mapper.  But the whole triangulated object still display one single grey
colour.  I can use vtkActor.GetProperty().SetColor to set the colour for
whole object.

Any idea that I can represent the height profile on my triangulated
PolyDataMapper?

Any advise would be much appreciated...

--
Thanks
Kevin
**********************************
Manchester Material Science Centre
University of Manchester
----------------------------------
Centre for Virtual Environments
University of Salford
**********************************



More information about the vtkusers mailing list