[vtkusers] Creating a 3D surface mesh from a stack of contours

Joel Schaerer joelthelion at laposte.net
Wed Apr 29 05:03:22 EDT 2009


Hi all,

I'm trying to create a 3D surface mesh from a stack of 2D contours created
from a semi-manual contouring platform I have no control on. For now I have
succesfully converted the contours to vtk polylines. My idea is to binarize
the the polylines, and to run a marching cubes on the resulting binary
volume.

Unfortunately, vtkPolyDataToImageStencil doesn't work for polylines. So
before I start coding a polyline binarizer, would anyone have a better idea,
or such a binarizer in stock? (the code will be integrated into the
open-source 4D viewer vv)

Thanks,

joel
-- 
View this message in context: http://www.nabble.com/Creating-a-3D-surface-mesh-from-a-stack-of-contours-tp23293256p23293256.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list