[vtkusers] A question on the datafile format
Alaeddin A. Aydiner
aydiner at empc22.ece.uiuc.edu
Wed Jun 21 20:26:30 EDT 2000
Hello,
I am trying to put together a binary vtk input file. VTK (version
2.4) complains when reading the datafile as follows:
Generic Warning: In vtkDataReader.cxx, line 751
Error reading binary data!
The relevant code seems to be a simple end-of-file check. I checked
the size of the file and the file itself with od; and all seem to
be correct (not necessarily :-). Thanks in advance.
PS. I set the reply-to address as I am not in the list.
================================================================================
# vtk DataFile Version 2.0
coords.dat (coordinates) sigmaf.dat (attributes): Generated on Jun 19 2000
BINARY
DATASET STRUCTURED_GRID
DIMENSIONS 1 1 1
POINTS 388630 float
p_x p_y p_z ... (binary float data)
POINTS_DATA 388630 double
388630 scalars (binary double)
================================================================================
--
#################################################################
Alaeddin Ahmet AYDINER 372A CCEM Everitt Laboratory MC 702
Office Tel: 217 333 4121 Electrical & Computer Eng. Dept. UIUC
#################################################################
More information about the vtkusers
mailing list