All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <SEGYHeader.h>
Public Member Functions | |
bool | read (QDataStream &s) |
SEGYHeader () | |
bool | write (QDataStream &s) |
Brief description of class still missing.
Full description of class still missing
Description of constructor still missing
{ TRACE; ASSERT(sizeof(SEGYHeader)==3600); memset(this, 0, 3600); field.dataSampleFormat=5; // IEEE floating point // Geopsy currently does not read other header fields. }
bool GeopsyCore::SEGYHeader::read | ( | QDataStream & | s | ) |
bool GeopsyCore::SEGYHeader::write | ( | QDataStream & | s | ) |
{ TRACE; if(s.writeRawData(raw.raw0, 3200)!=3200) return false; for(int i=0;i<3;i++) s << raw.raw1[i]; for(int i=0;i<24;i++) s << raw.raw2[i]; if(s.writeRawData(raw.raw3, 240)!=240) return false; for(int i=0;i<3;i++) s << raw.raw4[i]; if(s.writeRawData(raw.raw5, 94)!=94) return false; return true; }
struct { ... } GeopsyCore::SEGYHeader::field |
Referenced by SEGYHeader().
struct { ... } GeopsyCore::SEGYHeader::raw |
char GeopsyCore::SEGYHeader::raw0[3200] |
qint32 GeopsyCore::SEGYHeader::raw1[3] |
qint16 GeopsyCore::SEGYHeader::raw2[24] |
char GeopsyCore::SEGYHeader::raw3[240] |
qint16 GeopsyCore::SEGYHeader::raw4[3] |
char GeopsyCore::SEGYHeader::raw5[94] |
char GeopsyCore::SEGYHeader::textualFileHeader[3200] |
char GeopsyCore::SEGYHeader::unassigned0[240] |
char GeopsyCore::SEGYHeader::unassigned1[94] |