[vtkusers] vtkXMLRectilinearGridWriterC - specifications and example?

Berk Geveci berk.geveci at kitware.com
Mon Jan 28 13:25:43 EST 2008


VTK/IO/Testing/Cxx/TestXMLCInterface.c is as close as it gets.

-berk


On 1/25/08, Lutz Lesshafft <lesshafft at gmail.com> wrote:
> Hi,
>
> I have been trying to output my simulation data from C code in vtk xml
> binary format (for Paraview).  The data is of rectilinear grid type.  I have
> not been able to find an in-depth description of how to use the vtk writer
> functions - like for example a list of all options that can be set for
> rectilinear grids. Alternatively, I could directly write the file with
> fwrite etc, but this is not straightforward either (eg, rumours about having
> to add an integer at the beginning of each data block, and what about
> writing native binary instead of base64...).
>
> Does anybody have a simple example of a c code that writes an xml
> rectilinear grid file? Or point me towards a complete description of
> vtkXMLRectilinearGridWriter and how to use it?
>
> Thanks
> Lutz
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the 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