On Thu, Nov 22, 2012 at 1:25 PM, R D <span dir="ltr"><<a href="mailto:rupin.dalvi@gmail.com" target="_blank">rupin.dalvi@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Have a look at this, it should help:<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Decimation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Decimation</a><br>
<br>
Regards,<br>
<br>
Rupin</blockquote><div><br></div>I don't believe VTK has anything to guarantee the "uniformly distributed" nature of the points.<div><br></div><div>There is an algorithm called "stratified sampling" that does this. You can try this implementation:</div>
<div><a href="https://github.com/daviddoria/StratifiedSampling">https://github.com/daviddoria/StratifiedSampling</a><br clear="all"><br></div><div>David</div></div>