OpendTect-6_4  6.4
welltiepickset.h
Go to the documentation of this file.
1 #ifndef welltiepickset_h
2 #define welltiepickset_h
3 
4 /*+
5 ________________________________________________________________________
6 
7 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8 Author: Bruno
9 Date: Feb 2009
10 RCS: $Id: welltiepickset.h,v 1.1 2009-01-19 13:02:33 cvsbruno Exp
11 $
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "wellattribmod.h"
17 #include "color.h"
18 #include "valseriesevent.h"
19 
20 class SeisTrc;
21 
22 namespace WellTie
23 {
24 
25 class PickData;
26 class Marker;
27 
28 
29 mExpClass(WellAttrib) PickSetMgr : public CallBacker
30 {
31 public:
32  PickSetMgr( PickData& pd );
33 
35 
38 
39  void addPick(float,bool,const SeisTrc* trc=0);
40  void addPick(float,float);
41  bool isPick() const;
42  bool isSynthSeisSameSize() const;
43  void clearAllPicks();
44  void clearLastPicks();
45  float findEvent(const SeisTrc&,float) const;
46  void setPickSetPos(bool issynth,int idx,float z);
47  void sortByPos();
48 
49  void getEventTypes(BufferStringSet&) const;
50  void setEventType(const char*);
51  const char* getEventType() const;
52  const TypeSet<Marker>& synthPickSet() const { return synthpickset_;}
53  const TypeSet<Marker>& seisPickSet() const { return seispickset_; }
54 
55 protected :
56  void sortByPos(TypeSet<Marker>&);
57 
60 };
61 
62 } // namespace WellTie
63 
64 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< Marker > & synthpickset_
Definition: welltiepickset.h:58
Definition: welltiecshot.h:21
Set of BufferString objects.
Definition: bufstringset.h:28
const TypeSet< Marker > & seisPickSet() const
Definition: welltiepickset.h:53
Definition: callback.h:254
Set of (small) copyable elements.
Definition: commontypes.h:30
Definition: welltiedata.h:96
Definition: welltiepickset.h:29
Seismic trace.
Definition: seistrc.h:34
Notifier< PickSetMgr > pickadded
Definition: welltiepickset.h:34
bool lastpicksynth_
Definition: welltiepickset.h:36
const TypeSet< Marker > & synthPickSet() const
Definition: welltiepickset.h:52
Type
Definition: valseriesevent.h:26
TypeSet< Marker > & seispickset_
Definition: welltiepickset.h:59
VSEvent::Type evtype_
Definition: welltiepickset.h:37

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