[vtkusers] vtkLookupTable.GetColor()

Chris Want cwant at ualberta.ca
Thu May 19 16:05:05 EDT 2005


Hi all,

I just ran one of my fairly recent python scripts that
use the GetColor method of vtkLookupTable as

color = lut.GetColor(scalar)

It failed, and upon reading the latest docs, it appears
that the new way is to do:

lut.GetColor(scalar, color).

I was just curious as to why this changed, and
why the old prototype wasn't kept around as
some kind of overloaded function?

Regards,
Chris

-- 
Chris Want
Research Computing Support
Computing & Network Services
University of Alberta
Tel: 1-780-492-9418



More information about the vtkusers mailing list