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