<br><blockquote>Hello Sir, <br><br>If I use that logic, then i feel it will take lot of time. <br><br>Two loops will come into picture.. First loop contains IDs of points which are to be deleted<br>and second loop is the one which is in the code..<br><br>So for each time, it will iterate n times for a single point ( where n is the total number of points)<br>thus If i want to delete m points then the code has to run m*n times ..<br><br>If n is in thousands (say more than 10000 or 30000) then i feel this is not an efficient one.<br><br>Can it be done using vtkCutter or vtkClipPolyData or something..??<br><br>Thanks<br><br>Regards<br>Rakesh Patil<br>---------- Original message ----------<br>From:"David Doria"&lt; daviddoria+vtk@gmail.com &gt;<br>Date: 17 Aug 10 17:03:48<br>Subject: Re: [vtkusers] How to delete set of points..?<br>To: Rakesh Patil &lt;rakeshthp@in.com&gt;<br>Cc: VTK Mailing List &lt;vtkusers@vtk.org&gt;<br><br>On Tue, Aug 17, 2010 at 4:37 AM, Rakesh Patil &lt;rak
 eshthp@in.com&gt; wrote:<br>&gt; Hello,<br>&gt;<br>&gt; I have a set of scattered XYZ points.. I Use RubberBandPick style interactor<br>&gt; to<br>&gt; select multiple points. Now once I select a set of points, how can i perform<br>&gt; Delete operation on selected point set.?<br>&gt;<br>&gt; Basically, after performing pick operation, i have two datasets, one<br>&gt; superset (say A)<br>&gt; and another subset (i,e. selected points) (say B)<br>&gt;<br>&gt; i.e. B is subset of A<br>&gt;<br>&gt; I think to delete all the selected points, I need to do A - B<br>&gt;<br>&gt; Is there any way to carry out this operation ?? Or any other alternative<br>&gt; method to<br>&gt; delete set of points?<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Regards<br>&gt; Rakesh Patil<br><br>This is the best I've come up with:<br><br>http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DeletePoint<br><br>Thanks,<br><br>David<br></blockquote><br><br><div style="border-top:1px dashed #ccc; border-bottom:1px dash
 ed #ccc; padding:5px;"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font:13px arial; color:#1E56A1; text-decoration:none;">Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>