[Paraview] Writing binary VTK

Lester Anderson lester_anderson1963 at hotmail.com
Sun Nov 2 08:02:02 EST 2008


Hi Berk
 
Thanks for the information. With the help of yourself and others on the mailing list I have now got my large data "cube" into Paraview. Like all things new, it always helps to have the advice of experts on the methodology; so many thanks to all who have helped :)
 
Saving to binary format is useful and saves on space too!
 
One point I am not clear on is that I can generate the surface view and set the scalar to display density, as a cube, slice or clipped body, but when I try the volume option it shows nothing.
 
# vtk DataFile Version 3.0vtk outputASCIIDATASET STRUCTURED_POINTSDIMENSIONS 151 151 101SPACING 200 -200 -100ORIGIN 291024 2055975 0POINT_DATA 2302901SCALARS density doubleLOOKUP_TABLE default2.32.32.3 etc
 
I also tried the clean_to_grid filter and although the file size goes up, there was still nothing on the volume view, and in fact caused Paraview 3.4.0 to crash.
 
Thanks
 
Lester> Date: Sun, 2 Nov 2008 07:30:16 -0400> From: berk.geveci at kitware.com> To: lester_anderson1963 at hotmail.com> Subject: Re: [Paraview] Writing binary VTK> CC: kmorel at sandia.gov; paraview at paraview.org> > If you already have the ascii VTK file, you can convert it to binary> by loading it in ParaView and saving it out as binary format. It is> pretty easy to automate this using Python. Let me know if you need an> example.> > -berk> > On Fri, Oct 31, 2008 at 1:28 AM, Lester Anderson> <lester_anderson1963 at hotmail.com> 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: kmorel at sandia.gov> >> To: lester_anderson1963 at hotmail.com; paraview at 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" <lester_anderson1963 at hotmail.com>> >> 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: kmorel at sandia.gov> >> ** *** ** phone: (505) 844-8919> >> *** fax: (505) 845-0833> >>> >>> >>> >> >> > ________________________________> > Get the best wallpapers on the Web - FREE. Click here!> > _______________________________________________> > ParaView mailing list> > ParaView at paraview.org> > http://www.paraview.org/mailman/listinfo/paraview> >> >
_________________________________________________________________
Win £1000 John Lewis shopping sprees with BigSnapSearch.com
http://clk.atdmt.com/UKM/go/117442309/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081102/d5300088/attachment.htm>


More information about the ParaView mailing list