[vtkusers] Re: How do I attach a color LUT to a data object?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Fri Jul 15 09:08:20 EDT 2005


Hi Steve,

Did you try:

vtkLookupTable lut
...
vtkPolyData pdata
...

[[pdata GetPointData] GetScalars] SetLookupTable lut


hth

Goodwin



"Steve Juranich" <sjuranic at gmail.com> wrote in message 
news:56190b6c05071418161e7a5c8 at mail.gmail.com...
Could somebody **PLEASE** give me a minimal example of how to attach a
color LUT to a data set (i.e., before writing it out to a file)?  I've
looked everywhere I can think of and I can't find it.

Thanks a bunch.
-- 
Steve Juranich
Tucson, AZ
USA
_______________________________________________
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