OpendTect  6.3
staticsdesc.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: K. Tingdahl
8  Date: May 2009
9 ________________________________________________________________________
10 
11 */
12 
13 #include "algomod.h"
14 #include "dbkey.h"
15 
16 
23 {
24 public:
25  StaticsDesc();
26 
28  float vel_;
29  BufferString velattrib_; //attrib on statichorizon_
30  //if empty, use vel
31 
32  bool operator==(const StaticsDesc&) const;
33  bool operator!=(const StaticsDesc&) const;
34 
35  static void removePars(IOPar&);
36  void fillPar(IOPar&) const;
37  bool usePar(const IOPar&);
38 
39  static const char* sKeyHorizon();
40  static const char* sKeyVelocity();
41  static const char* sKeyVelocityAttrib();
42 };
#define mExpClass(module)
Definition: commondefs.h:157
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
DBKey horizon_
Definition: staticsdesc.h:27
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
BufferString velattrib_
Definition: staticsdesc.h:29
Specifies Statics as a horizon and either a horizon attribute or a constant velocity. Velocity is always in m/s.
Definition: staticsdesc.h:22
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:60
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
float vel_
Definition: staticsdesc.h:28
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36

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