[vtkusers] Re: How to write multiple surfaces into a single STL file?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Thu Feb 19 08:00:19 EST 2004


You can:
1. Use vtkAppendPolyData to append all the outputs from multiple
vtkContourFilter's into one PolyData
2. Just use one instance of vtkContourFilter (and one vtkActor etc) in the
first place, extracting all the contours by setting multiple contour values
in the one filter

HTH

Goodwin
> From: "An Jiye" <an_jiye at hotmail.com>
> To: <vtkusers at vtk.org>
> Date: Thu, 19 Feb 2004 14:16:02 +0800
> Subject: [vtkusers] How to write multiple surfaces into a single STL file?
>
> Hi.
>
> I have multiple actors rendered in one window. Each of these actors
> represents an isosurface. The surfaces are all extracted from the original
> data by setting different values to vtkContourFilter.
>
> How can I save all these surfaces into a single STL file?
>
> Thanks for any suggestion in advance.
>
> An Jiye




More information about the vtkusers mailing list