[vtkusers] Creating a 3D surface mesh from a stack of contours
Bryn Lloyd
blloyd at vision.ee.ethz.ch
Wed Apr 29 06:11:50 EDT 2009
Hi Joel,
I guess you want to run an inside/outside test with the polylines. I
would suggest you have look at this post:
http://www.nabble.com/extracting-binary-label-image-from-poly-data-contour-td22079030.html
Cheers
Bryn
Joel Schaerer wrote:
> 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
--
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 26668
Fax: +41 44 63 21199
-------------------------------------------------
More information about the vtkusers
mailing list