<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
Here is what I do, <br>
<br>
1) when ever you ::New() something you also Delete() it.<br>
<br>
2a) When ever you need to keep the output of a filter longer than the
filter itself call Register(0) on the output then Delete() the filter.
Make sure you Delete() the output later.<br>
<br>
2b) alternatively you could DeepCopy the output of filters you want to
keep around.<br>
<br>
Burlen<br>
<br>
<br>
Godofredo wrote:
<blockquote cite="mid10715919.post@talk.nabble.com" type="cite">
  <pre wrap="">Hi everyone. I'm trying to make the triangulation of a point cloud using
vtkDelaunay2D. What I don't know is when to exactly delete filters and other
objects such as PolyDatas that aren't used anymore. I've made some tries but
with bad results. For example, if I use vtkDelaunay2D, update it and then
save its output in a vtkPolyData, can I delete the vtkDelaunay2D filter?
Many thanks. 
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.02000307.08040408@apollo.sr.unh.edu" border="0"></div>
</body>
</html>