<html><head><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head><body><div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><div>Also:</div><div> </div><div>this page <a title="http://www.vtk.org/doc/nightly/html/classvtkConnectivityFilter.html#details" href="http://www.vtk.org/doc/nightly/html/classvtkConnectivityFilter.html#details" target="_parent">http://www.vtk.org/doc/nightly/html/classvtkConnectivityFilter.html#details</a> says:</div><div> </div><div>“If you know that your input type is <a title="http://www.vtk.org/doc/nightly/html/classvtkPolyData.html" class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPolyData.html" target="_parent"><u><font color="#0066cc">vtkPolyData</font></u></a>, you may wish to use <a title="http://www.vtk.org/doc/nightly/html/classvtkPolyDataConnectivityFilter.html" class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPolyDataConnectivityFilter.html" target="_parent"><u><font color="#0066cc">vtkPolyDataConnectivityFilter</font></u></a>.”</div><div data-signatureblock="true"> </div><div data-signatureblock="true"> </div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style='line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;'><b>From:</b> David Doria<br><b>Sent:</b> Tuesday, April 23, 2013 4:13 PM<br><b>To:</b> matheus_viana<br><b>Cc:</b> vtkusers@vtk.org</font></div></div><div> </div>On Tue, Apr 23, 2013 at 1:54 PM, matheus_viana <vianamp@gmail.com> wrote:<br>> Hi David.<br>><br>> I've used your idea and it is working now. However, the input of<br>> vtkMassProperties is required to be of type vtkPolyData.<br>><br>> Do you know how to convert from the vtkUnstructuredGrid resulting of the<br>> vtkConnectivityFilter to vtkPolyData?<br>><br>> Thanks,<br>><br>> Matheus.<br><br><br>http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DataSetSurfaceFilter<br><br>David<br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br><br>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></div></body></html>