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

Francois Bertel francois.bertel at kitware.com
Tue Mar 23 10:09:45 EDT 2010


I just added it:
http://www.vtk.org/Wiki/VTK/Examples/FloatingPointExceptions in the
simple operations section:
http://www.vtk.org/Wiki/VTK/Examples#Simple_Operations

On Tue, Mar 23, 2010 at 9:59 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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
> _______________________________________________
> 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
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list