[vtkusers] vtkLookupTable - question?

Karin Faulhaber faulhabe at ipf.uni-karlsruhe.de
Mon Mar 26 12:23:43 EST 2001

Hi Peter,

I don't know if this is what you want, but did you try SetTableValue in

Good luck

xiong fei wrote:
> Dear vtkusers
>     Sorry for posting this message again, but I am
> really in trouble now. What I want is to transfer a
> series of special data values into colors, like -1 for
> red, 0 for green and 1 for blue(just a color mapping).
> Is there any method provided by VTK to solve this
> problem? I have tried to use the public method
> GetColor or GetOpacity in vtkLookupTable or
> vtkColorTransferFunction, however, it returns an error
> report for invalid usage. So can someone tell me
> whether I have chosen a wrong way to do it?
> Best Regards
> Peter
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com.sg/
> _______________________________________________
> 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

Karin Faulhaber
Universitaet Karlsruhe
Institut fuer Photogrammetrie und Fernerkundung (IPF)
Englerstr. 7 
76128 Karlsruhe

Tel: 0721/608-3676
E-Mail: faulhaber at ipf.uni-karlsruhe.de

More information about the vtkusers mailing list