<div dir="ltr"><div>Eric,</div><div><br></div>Try unchecking the "All Scalars" option in the Threshold filter properties.<div><br></div><div>HTH,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 5:47 PM, Eric D. Robertson <span dir="ltr"><<a href="mailto:eric.robertson@cfdrc.com" target="_blank">eric.robertson@cfdrc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">I am using vtkThreshold to filter point data stored as vtkStructuredGrid.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">The data is essentially an array of 0’s and 1’s, where I am looking to only keep the cells with 1’s stored.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">When I apply the vtkThreshold, the result is a domain slightly smaller than the number of cells with 1’s. In other words, the number of cells in the vtkThreshold doesn’t
exactly match up to the number of 1’s available in the original unthresholded domain. Is this a known issue?<br clear="all">
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Eric Robertson<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Research Engineer, BET<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">CFD Research Corporation<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">701 McMillian Way NW, Suite D<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Huntsville, AL 35806<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Ph: <a href="tel:256-726-4912" value="+12567264912" target="_blank">256-726-4912</a><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<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/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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</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=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/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>