This example may be useful:<div><a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/RandomProbe">http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/RandomProbe</a></div><div><br><br><div class="gmail_quote">On Wed, Mar 13, 2013 at 9:24 AM, Dan Lipsa <span dir="ltr">&lt;<a href="mailto:dan.r.lipsa@gmail.com" target="_blank">dan.r.lipsa@gmail.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="ltr">Hi,<div>I am using a vtkPointSource to generate radom points and then I sample a dataset at those points using vtkProbeFilter.</div>
<div><br></div><div>However, some of the generated points are outside of the dataset so are marked invalid using the vtkValidPointMask array.</div>
<div><br></div><div>What is the best way to obtain a new dataset with the invalid points removed.</div><div><br></div><div>Thank you very much,</div><div>Dan</div><div><br></div></div>
<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"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>