[vtkusers] Create a VTK-File in binary format

David Doria daviddoria+vtk at gmail.com
Thu Dec 17 06:25:11 EST 2009


On Thu, Dec 17, 2009 at 5:46 AM, Dmitri Danewitz <d.danewitz at yahoo.de>wrote:

> Hello all!
>
> I want to create a VTK File  with my own C# program. I have the data stored
> in int variables. Does someone know a way in C# to write them into a vtk not
> as "12345" but as "?€ _ _" (binary) format?
>
> Thanks a lot!
>
> Dmitri
>
>
Dmitri,

You can use vtkXMLPolyDataWriter with
SetDataModeToBinary<http://www.vtk.org/doc/nightly/html/classvtkXMLWriter.html#a5ca529771f07f666a6291086948d66ea>
()

Let us know if this does what you're looking for.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091217/1da61979/attachment.htm>


More information about the vtkusers mailing list