[vtkusers] Selecting a subset of points out of a vtkPolyData using a sphere
jonathan grimm
flymolo at gmail.com
Thu Jan 4 17:05:54 EST 2007
The easiest way I'm found to do this is to maintain the original ID as a
scalar using vtkIdFilter.
On 1/4/07, Boettcher, Dr. Peter <Boettcher at kleintierklinik.uni-leipzig.de>
wrote:
>
> 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
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
--
Sometimes it's hard to tell the dancer from the dance - Corwin in CoC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070104/8adb6762/attachment.htm>
More information about the vtkusers
mailing list