[vtkusers] No Effect for vtkLookupTable on Triangulated PolyDataMapper
Malcolm Drummond
malcolm at geovision.co.za
Wed May 21 16:11:08 EDT 2003
Hi Kevin
I think there are no scalars in your dataset to map colors to. Try using
vtkElevationFilter.
HTH
Malcolm
----- Original Message -----
From: "Kevin Tiow Wee Tan" <twtan at cheerful.com>
To: <vtkusers at public.kitware.com>
Sent: Wednesday, May 21, 2003 4:54 PM
Subject: [vtkusers] No Effect for vtkLookupTable on Triangulated
PolyDataMapper
> 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
> **********************************
> _______________________________________________
> 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