[vtkusers] Deleting a vtkPointset

kannan ksoft44 at hotmail.com
Thu Apr 10 01:49:48 EDT 2003


you can delete a vtkpoint by the delete command.
eg:- vtkpoint *x=vtkpoint::new();
x->delete();
  ----- Original Message ----- 
  From: Markus Louw 
  To: vtkusers at public.kitware.com 
  Sent: Wednesday, April 09, 2003 11:55 PM
  Subject: [vtkusers] Deleting a vtkPointset


  Hi All
  When I tell it to delete(X) a vtkPoint, it tells me the destructor is protected, but otherwise there is a memory leak (in my program, since I can't delete the pointer).  Something seems wrong with the vtkPoint.Reset() function, my program only works if I create a new vtkPoint each time... any suggestions?
  Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030410/07a462e4/attachment.htm>


More information about the vtkusers mailing list