UnstructuredGrid Binary file

Charles Law charles.law at kitware.com
Wed Aug 11 12:23:17 EDT 1999


<x-flowed>Dan,

vtkStructuredGridWriter should do what you want.
just call the "SetFileTypeToBinary".  It will write
a *.vtk file.

Charles.


At 09:25 AM 8/11/99 -0400, Daniel G. Downey wrote:
>Hi,
>
>     Does someone out there have code to write a vtkUnstructuredGrid file in
>binary format, preferably in C++ ?
>
>     I have written an ascii version which works fine but the file is very
>large ( >500MB ) and loads VERY slow and each time I want to read another
>data field it takes ages again.  I expect a binary file will be smaller and
>load faster.
>
>Thanks for any assistance,
>Dan Downey



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------


</x-flowed>



More information about the vtkusers mailing list