[vtkusers] vtkLookupTable - question?
xfpku at yahoo.com.sg
Mon Mar 26 13:39:26 EST 2001
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.
--- 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
> 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
> > series of special data values into colors, like -1
> > red, 0 for green and 1 for blue(just a color
> > 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
> > 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
> > http://mail.yahoo.com.sg/
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> > Follow this link to subscribe/unsubscribe:
> Karin Faulhaber
> Universitaet Karlsruhe
> Institut fuer Photogrammetrie und Fernerkundung
> 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!
More information about the vtkusers