Cory and vtkusers,<br><br>Is there any way to use vtkcolortransferFunction with vtkActor or is it only applicable with vtkVolume?<br><br>Also any pointers on how to go about having one scalar map the hue and another scalar map to the value (HSV) of the vtkPolyData?<br>
<br>thanks,<br><br>John<br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 6:15 AM, Cory Quammen <span dir="ltr">&lt;<a href="mailto:cquammen@cs.unc.edu">cquammen@cs.unc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
John,<br>
<br>
I don&#39;t believe that this is possible with existing classes in VTK.<br>
You could try subclassing vtkLookupTable or vtkColorTransferFunction.<br>
<br>
Cory<br>
<div><div></div><div class="h5"><br>
On Mon, Sep 28, 2009 at 10:19 PM, John Durkin &lt;<a href="mailto:jrd5084@psu.edu">jrd5084@psu.edu</a>&gt; wrote:<br>
&gt; Dear vtkusers and developers,<br>
&gt;<br>
&gt;<br>
&gt; I&#39;ve had this problem for a while now and no one seems to be able to come up<br>
&gt; with an answer.  I have vtkPolyData that consists of vtkPoints and TWO sets<br>
&gt; of associated scalars.  I want to set the hue of the data using one set of<br>
&gt; scalars and the alpha value (opacity) using the other set of scalars.  Is<br>
&gt; there any way to use vtkLookupTable to do this?<br>
&gt;<br>
&gt; thanks,<br>
&gt;<br>
&gt; John<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Cory Quammen<br>
Center for Computer Integrated Systems for Microscopy and Manipulation (CISMM)<br>
Department of Computer Science<br>
University of North Carolina at Chapel Hill<br>
<a href="http://www.cs.unc.edu/%7Ecquammen" target="_blank">http://www.cs.unc.edu/~cquammen</a><br>
</font></blockquote></div><br>