[vtkusers] Saving a Set of Labels as a Single Volume

Bill Lorensen bill.lorensen at gmail.com
Fri Jun 4 19:56:49 EDT 2010


Remove the for loop and just do a
writer->SetFileName("file.vtp");
writer->Write();


On Fri, Jun 4, 2010 at 11:59 AM, Ted Kord <teddy.kord at googlemail.com> wrote:
> Hi
> I used the example code: GenerateModelsFromLabels
> (http://www.vtk.org/Wiki/VTK/Examples/Medical/GenerateModelsFromLabels) to
> convert my 3D volume vtk file to Polydata vtp format. The code outputs each
> label in a separate file.
> Is there a way to regroup/reassemble these labels into a single volume
> (still in vtp format) ?
> So far, I've assembled them in Paraview but I'm unable to save the volume as
> one single vtp or stl file.
> Thanks
> Theodore
>
>
> _______________________________________________
> 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
>
>



More information about the vtkusers mailing list