You're more than welcome to put try/catches in your own code or to locally modify you're VTK source tree to try and debug the issue. For the most part, VTK doesn't have many exceptions other than in a couple of places where it's absolutely necessary.<div>
<br></div><div>P.S. if you happen to have discovered a bug and come up with a fix feel free to send it to the list.</div><div><br></div><div>Thanks!<br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 12:43 AM, Ashika Umanga Umagiliya <span dir="ltr"><<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">any tips?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On 22 July 2011 18:48, Ashika Umanga Umagiliya <span dir="ltr"><<a href="mailto:aumanga@biggjapan.com" target="_blank">aumanga@biggjapan.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Greetings all,</div><div><br></div><div>I use "vtkVoxelContoursToSurfaceFilter" to generate mesh from stack of contours.</div><div>I use chain of filters during the process. (vtkTriangleFilter,vtkSmoothPolyDataFilter,vtkDecimatePro)</div>
<div><br></div><div>But sometimes VTK crash due to memory allocation problems.Is there a way to catch the exception using "try" "catch" in VTK ?</div><div><br></div><div>Best Regards</div><div><br></div>
<div><br></div>
</blockquote></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></div>