OpendTect  6.6
uisegycommon.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: June 2015
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uisegytoolsmod.h"
15 #include "seistype.h"
16 #include "segyfiledef.h"
17 class uiParent;
18 
19 
20 namespace SEGY
21 {
22 
23 mGlobal(uiSEGYTools) int cMaxReasonableNrSamples();
24  // default value is 25000 samples.
25  // Time: 50 (2ms) or 100 seconds (4ms); Depth: 25 km (1m), 100 km (4m)
26 
27 
28 mExpClass(uiSEGYTools) FullSpec
29 {
30 public:
31 
32  FullSpec(Seis::GeomType,bool isvsp=false);
33 
34  int rev_;
39  bool zinfeet_;
40 
41  bool isVSP() const { return isvsp_; }
42  Seis::GeomType geomType() const { return readopts_.geomType(); }
43  void fillPar(IOPar&) const;
44  void usePar(const IOPar&);
45 
46  bool isvsp_;
47 };
48 
49 } // namespace SEGY
50 
51 
55 
56 
57 namespace uiSEGY
58 {
59 
60 bool displayWarnings(const BufferStringSet&,bool withstop=false);
61 void displayReport(uiParent*,const IOPar&,const char* fnm=0);
62 void initClasses();
63 
64 } // namespace uiSEGY
65 
66 
67 
segyfiledef.h
SEGY::FullSpec::linenames_
BufferStringSet linenames_
Definition: uisegycommon.h:38
mGlobal
#define mGlobal(module)
Definition: commondefs.h:180
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
SEGY::FilePars
Definition: segyfiledef.h:55
SEGY::FullSpec::usePar
void usePar(const IOPar &)
uiSEGY::displayWarnings
bool displayWarnings(const BufferStringSet &, bool withstop=false)
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiSEGY
Definition: uisegycommon.h:58
uiSEGY::displayReport
void displayReport(uiParent *, const IOPar &, const char *fnm=0)
FileReadOpts
SEGY::FileReadOpts FileReadOpts
Definition: uisegycommon.h:53
SEGY::FileReadOpts::geomType
Seis::GeomType geomType() const
Definition: segyfiledef.h:109
SEGY::FullSpec::fillPar
void fillPar(IOPar &) const
FullSpec
SEGY::FullSpec FullSpec
Definition: uisegycommon.h:54
SEGY::FullSpec::pars_
FilePars pars_
Definition: uisegycommon.h:36
SEGY::FullSpec::FullSpec
FullSpec(Seis::GeomType, bool isvsp=false)
SEGY::FullSpec::zinfeet_
bool zinfeet_
Definition: uisegycommon.h:39
FilePars
SEGY::FilePars FilePars
Definition: uisegycommon.h:52
SEGY::FullSpec::rev_
int rev_
Definition: uisegycommon.h:34
uiSEGY::initClasses
void initClasses()
SEGY::FullSpec::readopts_
FileReadOpts readopts_
Definition: uisegycommon.h:37
SEGY::FullSpec
Definition: uisegycommon.h:29
SEGY::FileSpec
Definition: segyfiledef.h:37
SEGY::FileReadOpts
Definition: segyfiledef.h:104
SEGY
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
SEGY::FullSpec::isvsp_
bool isvsp_
Definition: uisegycommon.h:46
SEGY::FullSpec::geomType
Seis::GeomType geomType() const
Definition: uisegycommon.h:42
seistype.h
uiParent
Definition: uiparent.h:26
SEGY::cMaxReasonableNrSamples
int cMaxReasonableNrSamples()
SEGY::FullSpec::isVSP
bool isVSP() const
Definition: uisegycommon.h:41
Seis::GeomType
GeomType
Definition: seistype.h:32
SEGY::FullSpec::spec_
FileSpec spec_
Definition: uisegycommon.h:35
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021