<div dir="ltr">Please excuse my typo.  I meant "<span style="font-size:12.8px">colors are left as (0,0,0,0)", not "colors to left as".</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 1, 2017 at 6:54 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Shark,<div><br></div><div>Glad that you sorted it out.  Your fix looks sensible, given the way that the bug works. Essentially, the "under" and "over" colors to left as (0,0,0,0) in certain circumstances, instead of being set to the "min" and "max" colors.  Directly calling SetTableValue() is a work-around.</div><div><br></div><div>Cheers,</div><div> - David</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 1, 2017 at 6:39 AM, Shark <span dir="ltr"><<a href="mailto:m.nunes@fratoria.com" target="_blank">m.nunes@fratoria.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">David, your tip was useful to come up with a fix.<br>
<br>
Apparently got it working by adding SetTableValue in:<br>
<span><br>
Lookup->SetMinimumTableValue(0<wbr>, 0, 0, 1);<br>
Lookup->SetMaximumTableValue(1<wbr>, 1, 1, 1);<br>
</span>Lookup->SetTableValue(0, 0, 0, 0, 1);<br>
Lookup->SetTableValue(1, 1, 1, 1, 1);<br>
Lookup->Build();<br>
<br>
Let me know if there is a more logical/correct fix.<br>
<br>
Thank you again,<br>
Shark<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-7-1-issue-with-Window-Level-rendered-values-tp5742316p5742319.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/VTK-7-1-issue-with-Window-L<wbr>evel-rendered-values-tp5742316<wbr>p5742319.html</a><br>
<div class="m_-4520993751564080604HOEnZb"><div class="m_-4520993751564080604h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>