[vtkusers] Counting objects without RTTI

William A. Hoffman billlist at nycap.rr.com
Wed Jan 9 22:15:10 EST 2002


You could use the object factory, have a look a vtkDebugLeaks.

-Bill


At 01:17 AM 1/10/2002 +0100, Stefano Perticoni wrote:
>Hello,
>
>is it possible to count vtk objects using static member approach (a static
>data member in each type and increment it in the constructor) ? I'm using
>dynamic_cast to perform this task.
>
>Regards,
>Stefano
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list