[vtkusers] keep track of all instances of vtkObject

Sean McBride sean at rogue-research.com
Fri Apr 25 12:38:14 EDT 2008


On 4/25/08 3:05 PM, Manuel Feige said:

>how can I get all instances of vtkObject which have been created by the
>New() method and which have not yet been destroyed? 
>For instance, I would like to do 
>
>for each instance of vtkObject
> instance->PrintSelf(...)

Are you trying to find leaks?  Have you look at vtkDebugLeaks.h?

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list