[vtkusers] Problem mapping scalars to colors using a vtkLookupTable
Peter Kok
peter.kok at gmail.com
Sun Jul 1 07:00:47 EDT 2007
Hello Geofram and others,
I finally found an embarrassingly simple solution to set a
vtkColorTransferFunction in a vtkImagePlaneWidget. It is as simple as
setting the transfer function in the image plane's color map using
ipw.GetColorMap().SetLookupTable(ctf) instead of ipw.SetLookupTable(...).
Now, if only a vtkColorTransferFunction would allow you to specify an
opacity for each scalar... Are there any classes that do such things?
Regards,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070701/32e24901/attachment.htm>
More information about the vtkusers
mailing list