Hello,<br><br>I want to get the IDs of the nodes that fall on the boundary of the mesh. I tried to implement this and was able to achieve this. Below is the code:<br><br>vtkGeometryFilter *gf = vtkGeometryFilter::New();<br>gf-&gt;SetInput(ugrid);<br><br>vtkIdFilter *ids = vtkIdFilter::New();<br>ids-&gt;SetInputConnection(gf-&gt;GetOutputPort());<br>ids-&gt;PointIdsOn();<br>ids-&gt;FieldDataOn();<br><br>vtkFeatureEdges *fedge = vtkFeatureEdges::New();<br>fedge-&gt;SetInputConnection(ids-&gt;GetOutputConnection());<br>fedge-&gt;BoundaryEdgesOn();<br>fedge-&gt;FeatureEdgesOff();<br>fedge-&gt;ManifoldEdgesOff();<br>fedge-&gt;NonManifoldEdgesOff();<br>fedge-&gt;Update();<br><br>vtkLabeledDataMapper *ldm = vtkLabeledDataMapper::New();<br>ldm-&gt;SetInputConnection(fedge-&gt;GetOutputPort());<br>ldm-&gt;SetLabelModeToLabelFieldData();<br><br>vtkActor2D *pLabel = vtkActor::New();<br>pLabel-&gt;SetMapper(ldm);<br><br>pRenderer-&gt;AddActor2D(pLabel);<br><br>I can see the output as i w
 ant.. But i want this to store in an array or into a file.. How do i store ids of only boundary in the correct sequence.??<br><br>Thanks<br><br>Regards<br>Rakesh Patil<br><br><br><div style="border-top:1px dashed #ccc; border-bottom:1px dashed #ccc; padding:5px;"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font:13px arial; color:#1E56A1; text-decoration:none;">Dear <b>vtkusers !</b> Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>