[vtkusers] How to save the components names in a vtkPolyData to a vtk file?

David Doria daviddoria at gmail.com
Sun Nov 4 08:52:05 EST 2012


On Sun, Nov 4, 2012 at 4:20 AM, cel02000 <cel02000 at yahoo.com> wrote:
> Dear All,
>
> I am trying to write a vtkPolyData to a file. Unfortunately vtkWriter does
> not write the components names to file. Is there any way that I can save the
> names too?
>
> Thanks,
> Ahmad

You should probably be using vtkXMLPolyDataWriter:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP

David



More information about the vtkusers mailing list