[vtkusers] How to resample VtkPolyData to make sure two VtkPolyData have same number of points?
huangcheng1987928 at gmail.com
huangcheng1987928 at gmail.com
Fri Aug 24 05:25:03 EDT 2012
Sorry I didn't state the question clearly enough. These two polydata do not have the same geometry construction. So they are not exactly correspondence spatially. First I want to resample the polydata to make sure they have same number of polydata so I can do the correspondence alignement next. Anyway to do that?
Chester Huang
From: Gonzalo Amadio
Date: 2012-08-24 16:58
To: huangcheng1987928
CC: VTK
Subject: Re: [vtkusers] How to resample VtkPolyData to make sure two VtkPolyData have same number of points?
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/68c52cd2/attachment.htm>
More information about the vtkusers
mailing list