[vtkusers] writers

Hal Canary hal at cs.unc.edu
Tue May 15 07:57:17 EDT 2012


On 05/15/2012 06:18 AM, Gonzalo Amadio wrote:
> What is the difference between VtkPolyDataWriter and VtkXMLPolyDataWriter ?
>
> Is one better ?

The first saves using the "Legacy VTK" (.vtk) format.  The second saves 
using the newer XML format (*.vtp).

See http://www.vtk.org/VTK/img/file-formats.pdf for more information.

I don't see much performance difference between the binary .vtk format 
and the appended .vtp format.  Use the legacy format if you need 
backwards compatibility with old programs.





More information about the vtkusers mailing list