[vtkusers] How to make mesh from contours

David Doria daviddoria+vtk at gmail.com
Sat Jun 5 11:52:46 EDT 2010


On Sat, Jun 5, 2010 at 11:08 AM, Jothy <jothybasu at gmail.com> wrote:

> Hi all,
>
> I have a set of contours, which are read form a file like
> x1,y1,z1..........xn,yn,zn. Now I want to create a mesh from these numerical
> values. How to do that?
>
> I think first I need to convert the numerical values to vtkPolyData, then
> vtkTriangleFilter. But, how to convert the numerical values to vtkPolyData?
>
> Thanks,
>
> Jothy
>
>
Do these help?

http://www.vtk.org/Wiki/VTK/Examples/IO/ReadPlainText
http://www.vtk.org/Wiki/VTK/Examples/InfoVis/ReadDelimitedFile

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100605/909d1b9e/attachment.htm>


More information about the vtkusers mailing list