[vtkusers] Re: vtkConnectivityFilter and connected components

David Cole dlrdave at aol.com
Tue Apr 23 18:11:59 EDT 2013


Also:


this page http://www.vtk.org/doc/nightly/html/classvtkConnectivityFilter.html#details says:


“If you know that your input type is vtkPolyData, you may wish to use vtkPolyDataConnectivityFilter.”




From: David Doria
Sent: ‎Tuesday‎, ‎April‎ ‎23‎, ‎2013 ‎4‎:‎13‎ ‎PM
To: matheus_viana
Cc: vtkusers at vtk.org

On Tue, Apr 23, 2013 at 1:54 PM, matheus_viana <vianamp at gmail.com> wrote:
> Hi David.
>
> I've used your idea and it is working now. However, the input of
> vtkMassProperties is required to be of type vtkPolyData.
>
> Do you know how to convert from the vtkUnstructuredGrid resulting of the
> vtkConnectivityFilter to vtkPolyData?
>
> Thanks,
>
> Matheus.


http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DataSetSurfaceFilter

David
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130423/856761c7/attachment.htm>


More information about the vtkusers mailing list