<html><body>
<p><tt>"Peter Kok" <peter.kok@gmail.com></tt><tt> wrote on 01/07/2007 23:00:47:<br>
<br>
> Hello Geofram and others,<br>
> <br>
> I finally found an embarrassingly simple solution to set a <br>
> vtkColorTransferFunction in a vtkImagePlaneWidget. It is as simple <br>
> as setting the transfer function in the image plane's color map <br>
> using ipw.GetColorMap().SetLookupTable(ctf) instead of ipw.<br>
> SetLookupTable(...).<br>
> <br>
> Now, if only a vtkColorTransferFunction would allow you to specify <br>
> an opacity for each scalar... Are there any classes that do such things?</tt><br>
<br>
<tt>Peter,</tt><br>
<tt> can you use a vtkLookupTable (which has alpha) instead of a vtkColorTransferFunction?</tt><br>
<tt> regards, Dave P</tt><br>
<tt><br>
> <br>
> Regards,<br>
> Peter<br>
> _______________________________________________<br>
> This is the private VTK discussion list. <br>
> Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk">http://www.vtk</a>.<br>
> org/Wiki/VTK_FAQ<br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</tt></body></html>