Change<br><pre class="de1">hueLut<span class="sy2">-</span><span class="sy1">></span>SetHueRange <span class="br0">(</span><span class="nu0">0</span>, <span class="nu0">1</span><span class="br0">)</span><span class="sy4">;<br>
to<br></span>hueLut<span class="sy2">-</span><span class="sy1">></span>SetHueRange <span class="br0">(</span><span class="nu0">0</span>, <span class="nu0">.667</span><span class="br0">)</span><span class="sy4">;<br><br>
</span></pre><br><br><div class="gmail_quote">On Thu, Mar 7, 2013 at 12:35 PM, Wenlong Wang <span dir="ltr"><<a href="mailto:scc.wwl@gmail.com" target="_blank">scc.wwl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, all<br><br>I am trying to use vtkScalarBarActor to reveal the distance between two surfaces. I read the example at <br><br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScalarBarActor" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScalarBarActor</a><br>
<br>However, the bottom and the top of the bar have the same color. Thus it cannot accurately reveal if the distance is the largest or smallest.<br><br>My question is, how can I change the color of the ends of the bar?<br>
<br>Many thanks.<br><br>Best wishes<span class="HOEnZb"><font color="#888888"><br>Wenlong<br>
</font></span><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>