[vtkusers] 答复: How to create a polyhedron(vtkPolyData) from a series of points(Vertex)
Chen, Lifan
LCHEN41 at mgh.harvard.edu
Mon Feb 1 14:27:46 EST 2016
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<mailto:vtkusers-bounces at vtk.org>> on behalf of "Chen, Lifan" <LCHEN41 at mgh.harvard.edu<mailto:LCHEN41 at mgh.harvard.edu>>
Date: Monday, February 1, 2016 at 8:09 AM
To: "vtkusers at vtk.org<mailto:vtkusers at vtk.org>" <vtkusers at vtk.org<mailto: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/ffe57ade/attachment.html>
More information about the vtkusers
mailing list