OpendTect-6_4  6.4
prestackeventtracker.h
Go to the documentation of this file.
1 #ifndef prestackeventtracker_h
2 #define prestackeventtracker_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: November 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 #include "factory.h"
18 #include "odmemory.h"
19 #include "multiid.h"
20 #include "bufstring.h"
21 
22 
23 namespace PreStack
24 {
25 class Gather;
26 class Event;
27 class MuteDef;
28 
33 mExpClass(PreStackProcessing) EventTracker
34 { mODTextTranslationClass(EventTracker)
35 public:
36  mDefineFactoryInClass(EventTracker,factory);
37  virtual void reInit();
39 
40  virtual void setMute(bool inner,MuteDef*,OD::PtrPolicy);
41  virtual bool setMute(bool inner,const MultiID&);
42 
43  virtual bool trackEvents(const Gather&,ObjectSet<Event>&) const = 0;
44 
45  virtual ~EventTracker();
46  virtual bool usePar(const IOPar&);
47  virtual void fillPar(IOPar&) const;
48 
49  uiString errMsg() { return errmsg_; }
50 
51  static const char* sKeyInnerMute() { return "Inner mute"; }
52  static const char* sKeyOuterMute() { return "Outer mute"; }
53 
54 protected:
55  EventTracker();
56  void removeMutes();
57 
62 
65 
67 };
68 
69 
70 }; //namespace
71 
72 #endif
#define mExpClass(module)
Definition: commondefs.h:160
MultiID innermuteid_
Definition: prestackeventtracker.h:63
static const char * sKeyInnerMute()
Definition: prestackeventtracker.h:51
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
PreStack gather.
Definition: prestackgather.h:36
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: synthseis.h:36
Definition: uistring.h:89
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:32
MultiID outermuteid_
Definition: prestackeventtracker.h:64
Set of pointers to objects.
Definition: commontypes.h:32
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
bool ownsoutermute_
Definition: prestackeventtracker.h:61
static const char * sKeyOuterMute()
Definition: prestackeventtracker.h:52
uiString errmsg_
Definition: prestackeventtracker.h:66
BufferString errmsg_
Definition: horizontracker.h:119
bool ownsinnermute_
Definition: prestackeventtracker.h:60
Base class for algorithms that track PreStack events on a gather.
Definition: prestackeventtracker.h:33
PtrPolicy
Definition: odmemory.h:22
uiString errMsg()
Definition: prestackeventtracker.h:49
MuteDef * outermute_
Definition: prestackeventtracker.h:59
Compound key consisting of ints.
Definition: multiid.h:25
MuteDef * innermute_
Definition: prestackeventtracker.h:58

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