[vtkusers] operators new and delete from vtkObjectBase

Andrew Dolgert ajd27 at cornell.edu
Thu Dec 11 19:04:21 EST 2003


Hi Ursula,

If you use ::New() and ::Delete() implemented by every VTK class, I
can't figure out how you would ever call the new() or delete() defined
as methods of vtkObjectBase.  Are you doing something unusual?

Drew

> -----Original Message-----
> From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] 
> On Behalf Of ursula.goette at philips.com
> Sent: Thursday, December 11, 2003 8:25 AM
> To: vtkusers at vtk.org
> Subject: [vtkusers] operators new and delete from vtkObjectBase
> 
> 
> Dear all,
> 
> I seem to have problems with the operators new and delete 
> that are defined in the vtkObjectBase.cpp file. I fear that 
> it conflicts with the standard operators new and delete that 
> I also want to use within C++ / .NET. How can I work around 
> this? I saw that new and delete are only defined in the 
> ObjectBase file when the flag _WIN32 is defined. Undefining 
> this flag causes other problems, so I cannot do this.
> 
> Can someone please help me with this?
> 
> Thanks
> Ursula





More information about the vtkusers mailing list