OpendTect-6_4  6.4
prestackmutedef.h
Go to the documentation of this file.
1 #ifndef prestackmutedef_h
2 #define prestackmutedef_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Nov 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 
18 #include "mathfunc.h"
19 #include "multiid.h"
20 #include "namedobj.h"
21 #include "position.h"
22 #include "samplingdata.h"
23 
24 
25 namespace PreStack
26 {
27 
32 mExpClass(PreStackProcessing) MuteDef : public NamedObject
33 {
34 public:
35  MuteDef(const char* nm=0);
36  MuteDef(const MuteDef&);
37  ~MuteDef();
38 
39  MuteDef& operator=(const MuteDef&);
40 
41  int size() const;
42  int indexOf(const BinID&) const;
43  PointBasedMathFunction& getFn(int idx);
44  BinID& getPos(int idx);
45  const PointBasedMathFunction& getFn(int idx) const;
46  const BinID& getPos(int idx) const;
47 
48  void add(PointBasedMathFunction*,
49  const BinID& pos);
51  void remove(int idx);
52  float value(float offs,const BinID&) const;
55  void computeIntervals(float offs,
56  const BinID&,
57  TypeSet<Interval<float> >&) const;
61  bool isChanged() const { return ischanged_; }
62  void setChanged(bool yn) { ischanged_=yn; }
63 
64  void setReferenceHorizon(const MultiID&);
65  const MultiID& getReferenceHorizon() const;
66 
67 protected:
68 
72 
73  bool ischanged_;
74 
75  void getAllZVals(TypeSet<float>&) const;
76 };
77 
78 } // namespace PreStack
79 
80 #endif
#define mExpClass(module)
Definition: commondefs.h:160
ObjectSet< PointBasedMathFunction > fns_
Definition: prestackmutedef.h:69
Definition: synthseis.h:36
TypeSet< BinID > pos_
Definition: prestackmutedef.h:70
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:169
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:32
MultiID refhor_
Definition: prestackmutedef.h:71
Set of pointers to objects.
Definition: commontypes.h:32
Set of (small) copyable elements.
Definition: commontypes.h:30
bool isChanged() const
Definition: prestackmutedef.h:61
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Object with a name.
Definition: namedobj.h:35
bool ischanged_
Definition: prestackmutedef.h:73
MathFunction based on bend points.
Definition: mathfunc.h:151
Compound key consisting of ints.
Definition: multiid.h:25
void setChanged(bool yn)
Definition: prestackmutedef.h:62

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