<div dir="ltr">Dear David<div><br></div><div>I use vtkboxwidget for selection and the vtkClipPolyData to get the selected points </div><div><br></div><div>I will save the whole surface but I want to distinguish the parts using labels for further analysis in FE programs like ansys</div>
<div><br></div><div>is their a way to near that  </div><div><br></div><div>Best regards <br><br><div class="gmail_quote">On Sun, Dec 5, 2010 at 9:50 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Sun, Dec 5, 2010 at 2:31 PM, Ali Habib &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt; wrote:<br>

&gt; Dear All,<br>
&gt; I have an ISO surface that I generated using marching cube and I want to<br>
&gt; save it as STL file after I divide it to 3 labelled surfaces<br>
&gt; for example I need to select the mandible to be part1, maxilla part2 neck<br>
&gt; part 3<br>
&gt;<br>
&gt; any suggestion to do that please<br>
&gt; best regards<br>
<br>
</div></div>You could label the three parts by adding an array to the point or<br>
cell data, something like this:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/MiscCellData" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/MiscCellData</a><br>
<br>
I don&#39;t know how you intend to determine the three regions though.<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br></div></div>