[vtkusers] How to map scalar value to three different integer values

James Zhou henryjoye at gmail.com
Tue Apr 10 03:59:32 EDT 2007


Hi, all,



I want to map scalar value to three different integer values, for example,



Scalar value: 22 -----à L: 3

                        |----à T: 350

                        |----à R: 300


I tried to use vtkColorTransferFunction to do realize this, but I found that
vtkColorTransferFunction only map scalar values to double values in the
range of 0.0―1.0. Could anyone tell me whether there is any function to
realize this kind of mapping?



Thanks!



James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070410/b99dc3b8/attachment.htm>


More information about the vtkusers mailing list