[vtkusers] vtkLookupTable - question?
xiong fei
xfpku at yahoo.com.sg
Mon Mar 26 13:39:26 EST 2001
Hi,karin
Thank you for your advice. I think my question is
that: provided a series of data values and a
lookuptable, how can I manually transfer an individual
number into the corresponding color? I should say that
I don't want to define scalar and polydata objects in
this case, the only thing required is a simple
mapping. So is there any good method? Thanks a lot.
Best Regards
Peter
--- Karin Faulhaber <faulhabe at ipf.uni-karlsruhe.de>
wrote: > Hi Peter,
>
> I don't know if this is what you want, but did you
> try SetTableValue in
> vtkLookupTable?
>
> Good luck
> Karin
>
>
>
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Mail Free email you can access from anywhere!
http://mail.yahoo.com.sg/
More information about the vtkusers
mailing list