[vtkusers] How to delete set of points..?

David Doria daviddoria+vtk at gmail.com
Tue Aug 17 07:33:34 EDT 2010


On Tue, Aug 17, 2010 at 4:37 AM, Rakesh Patil <rakeshthp at in.com> wrote:
> Hello,
>
> I have a set of scattered XYZ points.. I Use RubberBandPick style interactor
> to
> select multiple points. Now once I select a set of points, how can i perform
> Delete operation on selected point set.?
>
> Basically, after performing pick operation, i have two datasets, one
> superset (say A)
> and another subset (i,e. selected points) (say B)
>
> i.e. B is subset of A
>
> I think to delete all the selected points, I need to do A - B
>
> Is there any way to carry out this operation ?? Or any other alternative
> method to
> delete set of points?
>
> Thanks
>
> Regards
> Rakesh Patil

This is the best I've come up with:

http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DeletePoint

Thanks,

David



More information about the vtkusers mailing list