[vtkusers] writing binary files

Thomas Wolfanger t.wolfanger at tlt.de
Thu Nov 22 11:43:09 EST 2001


Hello list,

I have a problem creating binary vtk files.
I wrote a converting program for my data which works fine for asciii data,
but as the file sizes grow, I want to switch to binary format.
To visualize my dataset, I use the (very fine) mayavi frontend. When
creating a binary file, it is being read in without error message. It
consists of vector and several scalar data, which cannot be shown, but the
vector data can, but not on cut planes. For the ascii file, everything works
fine (vectors, scakars, cuts of vectors or scalars).
So I presume the error is in the output file format. I'm aware that the
vtkUnstructuredGridwriter.cxx progam does what I need, but I'm programming
C and not C++, and I'm not completely understanding what this program code
does. 
Has anybody an idea what I'm missing here?
Thanks in advance,
--

Mit freundlichen Grüßen / Best regards

##############################################################
#                   Dr. Thomas Wolfanger                     #
#                  Turbo-Lufttechnik GmbH                    #
#                    t.wolfanger at tlt.de                      #
#                 Tel.: ..49/6332-808 425                    #
#                 Fax : ..49/6332-808 357                    #
##############################################################




More information about the vtkusers mailing list