<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>&nbsp;</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>&nbsp;says:</div><div>&nbsp;</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">&nbsp;</div><div data-signatureblock="true">&nbsp;</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>&nbsp;David Doria<br><b>Sent:</b>&nbsp;‎Tuesday‎, ‎April‎ ‎23‎, ‎2013 ‎4‎:‎13‎ ‎PM<br><b>To:</b>&nbsp;matheus_viana<br><b>Cc:</b>&nbsp;vtkusers@vtk.org</font></div></div><div>&nbsp;</div>On Tue, Apr 23, 2013 at 1:54 PM, matheus_viana &lt;vianamp@gmail.com&gt; wrote:<br>&gt; Hi David.<br>&gt;<br>&gt; I've used your idea and it is working now. However, the input of<br>&gt; vtkMassProperties is required to be of type vtkPolyData.<br>&gt;<br>&gt; Do you know how to convert from the vtkUnstructuredGrid resulting of the<br>&gt; vtkConnectivityFilter to vtkPolyData?<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; 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>