Hi,

About one year ago, I got some C code from the VisIt site from LLNL, which allows you to write legacy (.vtk) files using quite easy-to-use wrapper functions. It writes both in ascii and binary and checks for correct endian. I googled for the filenames just now and found them here: http://www-vis.lbl.gov/Vignettes/SNAZ/visit_writer_float/

I cannot write binary data to newer XML files since I understood that it has to be in base64 encoding and I wanted to export my data without using external libraries such as vtk. If there is an option to write binary xml files, I'd like to hear about it.

Regards,
Ivo

Lester Anderson wrote:
Hi Ken
Thanks for the info. So is there an easy way to take the ascii data and make it into a binary file (big-endian or ortherwise), or is it more involved? Basically I have my data already it just needs converting. Cheers Lester

> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]; paraview@paraview.org
> Date: Thu, 30 Oct 2008 16:44:32 -0600
> Subject: Re: [Paraview] Writing binary VTK
>
> You have the basic idea for binary legacy VTK files. I think the one caveat > is that the data needs to be written in big-endian format. (Someone correct
> me if I got that wrong.)
>
> I'm not sure what you mean by the column vs. sequential style. I think the
> data parts in ASCII data treat all whitespace the same, so you should be
> able to order the data in as many columns as you like.
>
> -Ken
>
>
> On 10/30/08 1:53 PM, "Lester Anderson" <[EMAIL PROTECTED]>
> wrote:
>
> > Hello all
> >
> > I have got a really big dataset that I want to have in a binary format. I have > > the header information all sorted now, but want to know how to convert the > > data part to binary. From what I understand the binary VYK structure is
> > basically the same as ascii except the data part is binary.
> >
> > On a second point, with an ascii VTK how can I change the data from a huge
> > long column of data to the more sequential style shown in examples?
> >
> > I work on a PC
> >
> > thanks
> >
> > Lester
> >
> >
> > For the best free wallpapers from MSN Click here!
> > <http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]>
>
>
> **** Kenneth Moreland
> *** Sandia National Laboratories
> ***********
> *** *** *** email: [EMAIL PROTECTED]
> ** *** ** phone: (505) 844-8919
> *** fax: (505) 845-0833
>
>
>


------------------------------------------------------------------------
Get the best wallpapers on the Web - FREE. Click here! <http://wallpapers.msn.com/?ocid=%5BB001MSN42A0716B%5D>
------------------------------------------------------------------------

_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to