[vtkusers] VTK C++ Exception handling?

David Partyka david.partyka at kitware.com
Mon Jul 25 09:34:17 EDT 2011


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.

P.S. if you happen to have discovered a bug and come up with a fix feel free
to send it to the list.

Thanks!

On Mon, Jul 25, 2011 at 12:43 AM, Ashika Umanga Umagiliya <
aumanga at biggjapan.com> wrote:

> any tips?
>
>
> On 22 July 2011 18:48, Ashika Umanga Umagiliya <aumanga at biggjapan.com>wrote:
>
>> Greetings all,
>>
>> I use "vtkVoxelContoursToSurfaceFilter" to generate mesh from stack of
>> contours.
>> I use chain of filters during the process.
>> (vtkTriangleFilter,vtkSmoothPolyDataFilter,vtkDecimatePro)
>>
>> But sometimes VTK crash due to memory allocation problems.Is there a way
>> to catch the exception using "try" "catch" in VTK ?
>>
>> Best Regards
>>
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110725/be963adf/attachment.htm>


More information about the vtkusers mailing list