<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>you can delete a vtkpoint by the delete
command.</FONT></DIV>
<DIV><FONT face=Arial size=2>eg:- vtkpoint *x=vtkpoint::new();</FONT></DIV>
<DIV><FONT face=Arial size=2>x->delete();</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mlouw@unizar.es href="mailto:mlouw@unizar.es">Markus Louw</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:vtkusers@public.kitware.com">vtkusers@public.kitware.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, April 09, 2003 11:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Deleting a
vtkPointset</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2>Markus</FONT></DIV></BLOCKQUOTE></BODY></HTML>