OpendTect  6.3
prestackmutedef.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 Bril
8  Date: Nov 2006
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "prestackprocessingmod.h"
15 
16 #include "mathfunc.h"
17 #include "dbkey.h"
18 #include "namedobj.h"
19 #include "position.h"
20 #include "samplingdata.h"
21 
22 
23 namespace PreStack
24 {
25 
30 mExpClass(PreStackProcessing) MuteDef : public NamedObject
31 {
32 public:
33  MuteDef(const char* nm=0);
34  MuteDef(const MuteDef&);
35  ~MuteDef();
36 
37  MuteDef& operator=(const MuteDef&);
38 
39  int size() const;
40  int indexOf(const BinID&) const;
41  PointBasedMathFunction& getFn(int idx);
42  BinID& getPos(int idx);
43  const PointBasedMathFunction& getFn(int idx) const;
44  const BinID& getPos(int idx) const;
45 
46  void add(PointBasedMathFunction*,
47  const BinID& pos);
49  void remove(int idx);
50  float value(float offs,const BinID&) const;
53  void computeIntervals(float offs,
54  const BinID&,
55  TypeSet<Interval<float> >&) const;
59  bool isChanged() const { return ischanged_; }
60  void setChanged(bool yn) { ischanged_=yn; }
61 
62  void setReferenceHorizon(const DBKey&);
63  const DBKey& getReferenceHorizon() const;
64 
65 protected:
66 
70 
71  bool ischanged_;
72 
73  void getAllZVals(TypeSet<float>&) const;
74 };
75 
76 } // namespace PreStack
#define mExpClass(module)
Definition: commondefs.h:157
ObjectSet< PointBasedMathFunction > fns_
Definition: prestackmutedef.h:67
Definition: prestackagc.h:18
TypeSet< BinID > pos_
Definition: prestackmutedef.h:68
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:173
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:30
Set of pointers to objects.
Definition: commontypes.h:28
DBKey refhor_
Definition: prestackmutedef.h:69
Set of (small) copyable elements.
Definition: commontypes.h:26
bool isChanged() const
Definition: prestackmutedef.h:59
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
object with a name.
Definition: namedobj.h:20
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
bool ischanged_
Definition: prestackmutedef.h:71
MathFunction based on bend points.
Definition: mathfunc.h:149
void setChanged(bool yn)
Definition: prestackmutedef.h:60

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