The easiest way I'm found to do this is to maintain the original ID as a scalar using vtkIdFilter.<br><br><div><span class="gmail_quote">On 1/4/07, <b class="gmail_sendername">Boettcher, Dr. Peter</b> <<a href="mailto:Boettcher@kleintierklinik.uni-leipzig.de">
Boettcher@kleintierklinik.uni-leipzig.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div dir="ltr">
<div dir="ltr"><font color="#000000" face="Arial" size="3">
<p style="margin: 0cm 0cm 0pt;"><span lang="EN-GB"><font face="Times New Roman">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.</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="EN-GB"><font face="Times New Roman"> </font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="EN-GB"><font face="Times New Roman">Regards,
Peter.</font></span></p></font></div>
<div dir="ltr"><font color="#000000" face="Arial" size="3"></font> </div></div>
<div dir="ltr">
<div><font color="#000000" face="Arial" size="2">------------------------------------</font></div>
<div><font color="#000000" face="Arial" size="2">Peter Böttcher, Dr med vet,
DipECVS</font></div>
<div><font color="#000000" face="Arial" size="2"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">European Veterinary Specialist in
Surgery</span></font></font></div>
<div><font color="#000000" face="Arial" size="2"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Fachtierarzt für
Kleintierchirurgie</span></font></font></div>
<div><font color="#000000" face="Arial" size="2"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></font><font face="Arial"><font size="2">Klinik für Kleintiere</font> <br><font size="2">
Universität Leipzig</font> <br><font size="2">An den Tierkliniken 23</font>
<br><font size="2">D-04103 Leipzig (Germany)</font></font></div>
<div><font face="Arial"><font size="2">Tel: +49-341-9738700</font> <br><font size="2">Fax: +49-341-9738799</font></font></div>
<div><font face="Arial"><font size="2">email: <a href="mailto:boettcher@kleintierklinik.uni-leipzig.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">boettcher@kleintierklinik.uni-leipzig.de</a></font>
<br></font></div></div></div>
<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Sometimes it's hard to tell the dancer from the dance - Corwin in CoC