[vtkusers] Attribute AllocatedRenderTime from vtkProp are a nan - VTK CVS HEAD

David Doria daviddoria+vtk at gmail.com
Tue Mar 23 09:59:32 EDT 2010


On Tue, Mar 23, 2010 at 9:57 AM, Francois Bertel <
francois.bertel at kitware.com> wrote:

> Hello,
>
> In your program, enable the floating point exceptions with:
>
> #include "vtkFloatingPointExceptions.h" // this file is in VTK/Common
>
> int main()
> {
> vtkFloatingPointExceptions::Enable();
>
> // rest of your program here.
> }
>
> It then will crash where the first exception happen, probably because
> of a division by 0. After locating, the line that triggers the
> exception, you will be able to try to figure out why it happens.
>


Wagner,

If you figure it out, maybe you could find a tiny example that would
demonstrate vtkFloatingPointExceptions and add it to the wiki?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100323/65bc8b43/attachment.htm>


More information about the vtkusers mailing list