I think your= can create two lookup tables, one for each scalar. Then use vtkLookupTable::MapScalarsThroughLookupTable to create two rgb outputs.<br><br>Then in a loop, do the blending between the rgb values of each output.<br>
<br>Finally, create a new point data that has the blended rgb values for the polydata<br><br><div class="gmail_quote">On Sat, Oct 6, 2012 at 4:45 PM, Matt Sutton <span dir="ltr">&lt;<a href="mailto:matt.sutton@padtinc.com" target="_blank">matt.sutton@padtinc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Sorry to reply to my own post, but I also want this blending to occur on a per vertex basis.  That is, the epsilon value would be an array of the same length as the input scalar array passed through the lookup table.</div>
<div>Regards,</div><div class="im"><div>Matt<br><br>Sent from my iPad</div></div><div><div class="h5"><div><br>On Oct 6, 2012, at 1:40 PM, &quot;Matt Sutton&quot; &lt;<a href="mailto:matt.sutton@padtinc.com" target="_blank">matt.sutton@padtinc.com</a>&gt; wrote:<br>
<br></div><blockquote type="cite"><div><div>I mean display all of the data with a lookup table.  What I would like to do is to take the color output from a lookup table and blend it with a base color, probably white, by a ratio say, epsilon.  Something like C*(1-epsilon) + epsilon*base</div>
<div>I looked at the vtkLookupTableWithEnabling class thinking that it was close.  I actually tried creating a new class by editing a copy of that class (not subclassing it) but the length of the &quot;enable&quot; array was not clear to me?</div>
<div>Thanks for any suggestions!</div><div>Matt<br><br>Sent from my iPad</div><div><br>On Oct 6, 2012, at 5:04 AM, &quot;Bill Lorensen&quot; &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt; wrote:<br>
<br></div><blockquote type="cite"><div>When you say &quot;contour&quot; the data do you mean generate isosurfaces/isolines or do you mean display all of the data with a lookup table?<br><br><div class="gmail_quote">On Fri, Oct 5, 2012 at 11:11 AM, Matt Sutton <span dir="ltr">&lt;<a href="mailto:matt.sutton@padtinc.com" target="_blank">matt.sutton@padtinc.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I have two separate scalar data arrays that I would like to use for coloring a poly data. One scalar will always be between 0-1.  The other will have arbitrary values.  I would like to contour the poly data with the arbitrary scalar quantity using a standard lookup table.  Then, I would like to take the corresponding output color value for each point and blend it with a base color based on the second scalar value.  Is there a filter that will do this?<br>


Thanks,<br>
Matt<br>
<br>
Sent from my iPad<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div></blockquote></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></span><br>
<span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br>
<span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br>
<span><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br></div></blockquote></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>
Unpaid intern in BillsBasement at noware dot com<br><br>