UnstructuredGrid Binary file

Daniel G. Downey danmotif at mrco2.carleton.ca
Wed Aug 11 12:24:45 EDT 1999


> From charles.law at kitware.com Wed Aug 11 12:21 EDT 1999
> X-Sender: krunner6 at pop.nycap.rr.com
> Date: Wed, 11 Aug 1999 12:23:17 -0400
> To: danmotif at mrco2.carleton.ca (Daniel G. Downey),
>         vtkusers at gsao.gso.med.ge.com
> From: Charles Law <charles.law at kitware.com>
> Subject: Re: UnstructuredGrid Binary file
> Cc: danmotif at mrco2.carleton.ca
> Mime-Version: 1.0
> 
> Dan,
> 
> vtkStructuredGridWriter should do what you want.
> just call the "SetFileTypeToBinary".  It will write
> a *.vtk file.
> 
> Charles.

Thanks.  I'll have a look.  

Dan

> 
> 
> 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.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list