[vtkusers] 答复: How to create a polyhedron(vtkPolyData) from a series of points(Vertex)

David Gobbi david.gobbi at gmail.com
Mon Feb 1 14:59:00 EST 2016


Hi Fantasy,

If the points are a convex hull, then you can use vtkDelaunay3D to fill the
hull with tetrahedrons, followed by vtkDataSetSurfaceFilter to get just the
outer surface.

 - David


On Mon, Feb 1, 2016 at 12:27 PM, Chen, Lifan <LCHEN41 at mgh.harvard.edu>
wrote:

> I've read the code. In this example, it requires user to define the faces
> of the polyhedron, however, what I want is to automatically create the
> polyhedron with the given points based on some kind of rules, for example,
> the closest points rule. I know there is a method in vtkSelectPolyData to
> finish the similar work, but the method in vtkSelectPolyData does not
> create a polydata itself.
>
> Fantasy
> ------------------------------
> *发件人:* vtkusers [vtkusers-bounces at vtk.org] 代表 Meehan, Bernard [
> MEEHANBT at nv.doe.gov]
> *发送时间:* 2016年2月1日 13:22
> *收件人:* vtkusers at vtk.org
> *主题:* Re: [vtkusers] How to create a polyhedron(vtkPolyData) from a
> series of points(Vertex)
>
> I think that this might help:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polyhedron
>
>
> From: vtkusers <vtkusers-bounces at vtk.org> on behalf of "Chen, Lifan" <
> LCHEN41 at mgh.harvard.edu>
> Date: Monday, February 1, 2016 at 8:09 AM
> To: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Subject: [vtkusers] How to create a polyhedron(vtkPolyData) from a series
> of points(Vertex)
>
> Hey all,
>
> I am new in vtk and here is a simple issue. How could I create a
> polyhedron from a series of points which are the vertexs of the polyhedron.
> Of course, these points do not intersect. Does any one know any method in
> vtk to accomplish this?
>
> Thanks,
> Fantasy
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160201/71d60507/attachment.html>


More information about the vtkusers mailing list