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->SetInput(ugrid);<br><br>vtkIdFilter *ids = vtkIdFilter::New();<br>ids->SetInputConnection(gf->GetOutputPort());<br>ids->PointIdsOn();<br>ids->FieldDataOn();<br><br>vtkFeatureEdges *fedge = vtkFeatureEdges::New();<br>fedge->SetInputConnection(ids->GetOutputConnection());<br>fedge->BoundaryEdgesOn();<br>fedge->FeatureEdgesOff();<br>fedge->ManifoldEdgesOff();<br>fedge->NonManifoldEdgesOff();<br>fedge->Update();<br><br>vtkLabeledDataMapper *ldm = vtkLabeledDataMapper::New();<br>ldm->SetInputConnection(fedge->GetOutputPort());<br>ldm->SetLabelModeToLabelFieldData();<br><br>vtkActor2D *pLabel = vtkActor::New();<br>pLabel->SetMapper(ldm);<br><br>pRenderer->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>