[vtkusers] create mesh from vertices and edges

David Doria daviddoria at gmail.com
Wed May 29 07:58:31 EDT 2013


On Wed, May 29, 2013 at 2:58 AM, Max <smapersmaper at gmail.com> wrote:
> Hi David,
> I have an input data which is points(i, x,y,z) and edges(i,j,k) where
> (i,x,y,z) is point (x,y,z) and the index of that point, and (i,j,k) is
> "connect point index i with points which indices j and k.
> I need to create a mesh of that data.
> How can I do it?
> I miss the connectivity part, how do i connect the vertices?
>
> Thank you,
> Max

This example shows how to create edges (line segments) between vertices:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/ColoredLines

David



More information about the vtkusers mailing list