[vtkusers] Selecting a subset of points out of a vtkPolyData using a sphere

Boettcher, Dr. Peter Boettcher at kleintierklinik.uni-leipzig.de
Thu Jan 4 17:01:09 EST 2007


I would like to select/mark the points of a polydata object which are lying inside a sphere. Using vtkClipper or vtkExtractGeometry gives me those points, however I loose the ids of the original polydata object. Is there a way to get those point keeping the original references so that I can do some calculations on the points' scalars and write them back onto the original polydata object? I looked at vtkCutter, however I do not see a good way using it for my purpose.

 

Regards, Peter.

 
------------------------------------
Peter Böttcher, Dr med vet, DipECVS
European Veterinary Specialist in Surgery
Fachtierarzt für Kleintierchirurgie
Klinik für Kleintiere 
Universität Leipzig 
An den Tierkliniken 23 
D-04103 Leipzig (Germany)
Tel: +49-341-9738700 
Fax: +49-341-9738799
email: boettcher at kleintierklinik.uni-leipzig.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070104/65068b64/attachment.htm>


More information about the vtkusers mailing list