[vtkusers] Creating a surface from an array

Sam Raby rabysam28 at gmail.com
Thu Mar 27 17:50:58 EDT 2014


Hi Ricardo,
Depending on your code/data, any of the following examples may give you
some pieces of useful info helping you put your code together:

1)
http://www.itk.org/Wiki/VTK/Examples/Cxx/Filters/SurfaceFromUnorganizedPoints
2) http://www.itk.org/Wiki/VTK/Examples/SurfaceFromUnorganizedPoints
3) http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ContoursToSurface


On Wed, Mar 26, 2014 at 8:46 PM, Ricardo Santos <
ricardo.c.r.santos at gmail.com> wrote:

> Hello,
>
>     I am starting to use VTK on my software, but I can't find how to
> create a surface mesh from an array of vertices, can someone point me on
> the direction?
>
>     Explaining a little further: I have a C++ function that returns a
> float3 array. I need to create a surface mesh and view it on a VTK window.
> Afterward, I need to save it to an stl file, but I need first to create the
> actor to be saved, right?
>
> Ricardo Santos
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140327/3ae7761e/attachment.html>


More information about the vtkusers mailing list