[vtkusers] keep track of all instances of vtkObject

Manuel Feige manuelfeige at googlemail.com
Fri Apr 25 13:56:05 EDT 2008


Thank you, vtkDebugLeaks is just what I'm looking for.

----- Original Message ----- 
From: "Sean McBride" <sean at rogue-research.com>
To: "Manuel Feige" <manuelfeige at googlemail.com>; <vtkusers at vtk.org>
Sent: Friday, April 25, 2008 6:38 PM
Subject: Re: [vtkusers] keep track of all instances of vtkObject


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