[vtkusers] How to resample VtkPolyData to make sure two VtkPolyData have same number of points?

Gonzalo Amadio gonzaloamadio at gmail.com
Fri Aug 24 04:58:41 EDT 2012


I don't know if there ir a class that do that..
But as firs idea, one could be :

Traverse the one with more number of points, and for each point, check if
exitsts in the other polydata, if not, add it.

2012/8/24 <huangcheng1987928 at gmail.com>

> **
> Hi all,
>
>         If I get two vtkPolyData but they have different number of points,
> is there a way to resample one of them to make sure these two polydata have
> the same number of points?
>
> Regards,
>
> ------------------------------
> Chester Huang
>
> _______________________________________________
> 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
>
>


-- 
--------
Gonzalo Amadio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120824/14fad782/attachment.htm>


More information about the vtkusers mailing list