[vtkusers] Create surface from multiple contours
Alex Malyushytskyy
alexmalvtk at gmail.com
Thu Apr 25 20:18:57 EDT 2013
Look at wiki examples.
For example the following might work for you.
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/SurfaceFromUnorganizedPointsWithPostProc
If you know that figure you are trying to reconstruct is convex, you might
use vtkDelaunay3D, to get 3d model of the object and then run it through
surface filter.
Finally you can recreate surface from contours (define triangles between
points ) yourself which seems to be trivial assuming contours are either
convex polygons or single point.
Regards,
Alex
On Wed, Apr 24, 2013 at 2:48 PM, Jean-Paul Aben <jeanpaul.aben at gmail.com>wrote:
> Dear All,
>
> I have multiple contours, where the points are 3D coordinates (floating).
> Each 3D contour is within one plane. The last contour exist of one 3D
> point. The contours represent a kind of a half cone.
>
> I want to genarte one surface of them. I tried to use solve it with the vtkVoxelContoursToSurfaceFilter.
> However, its difficult to have different z-distance between the contours.
> Furthmore, the surface looks stramge when closing the "cone".
>
> I assume there would be a better way, directly in scalar. Using the vtkVoxelContoursToSurfaceFilter
> makes first a 3D voxel volume and then extracts the contour.
>
> I hope someone could help me with this. I simple C++ code would be very
> helpfull, since i just started to use vtk.
>
> Kind regards,
> Jean-Paul
>
> _______________________________________________
> 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/20130425/a512913c/attachment.htm>
More information about the vtkusers
mailing list