[vtkusers] create stl file with labeled parts

David Doria daviddoria at gmail.com
Sun Dec 5 14:50:03 EST 2010


On Sun, Dec 5, 2010 at 2:31 PM, Ali Habib <ali.mahmoud.habib at gmail.com> wrote:
> Dear All,
> I have an ISO surface that I generated using marching cube and I want to
> save it as STL file after I divide it to 3 labelled surfaces
> for example I need to select the mandible to be part1, maxilla part2 neck
> part 3
>
> any suggestion to do that please
> best regards

You could label the three parts by adding an array to the point or
cell data, something like this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/MiscCellData

I don't know how you intend to determine the three regions though.

David



More information about the vtkusers mailing list