OpendTect-6_4  6.4
staticsdesc.h
Go to the documentation of this file.
1 #ifndef staticsdesc_h
2 #define staticsdesc_h
3 
4 /*
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: May 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 */
14 
15 #include "algomod.h"
16 #include "multiid.h"
17 
18 
25 {
26 public:
27  StaticsDesc();
28 
30  float vel_;
31  BufferString velattrib_; //attrib on statichorizon_
32  //if empty, use vel
33 
34  bool operator==(const StaticsDesc&) const;
35  bool operator!=(const StaticsDesc&) const;
36 
37  static void removePars(IOPar&);
38  void fillPar(IOPar&) const;
39  bool usePar(const IOPar&);
40 
41  static const char* sKeyHorizon();
42  static const char* sKeyVelocity();
43  static const char* sKeyVelocityAttrib();
44 };
45 
46 
47 #endif
#define mExpClass(module)
Definition: commondefs.h:160
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
MultiID horizon_
Definition: staticsdesc.h:29
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
BufferString velattrib_
Definition: staticsdesc.h:31
Specifies Statics as a horizon and either a horizon attribute or a constant velocity. Velocity is always in m/s.
Definition: staticsdesc.h:24
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
float vel_
Definition: staticsdesc.h:30
Compound key consisting of ints.
Definition: multiid.h:25

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