OpendTect  6.3
welltiepickset.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: Bruno
8 Date: Feb 2009
9 RCS: $Id: welltiepickset.h,v 1.1 2009-01-19 13:02:33 cvsbruno Exp
10 $
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "wellattribmod.h"
16 #include "color.h"
17 #include "valseriesevent.h"
18 #include "notify.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
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
TypeSet< Marker > & synthpickset_
Definition: welltiepickset.h:58
Definition: welltiecshot.h:20
Set of BufferString objects.
Definition: bufstringset.h:25
const TypeSet< Marker > & seisPickSet() const
Definition: welltiepickset.h:53
Class to help setup a callback handling.
Definition: notify.h:121
Set of (small) copyable elements.
Definition: commontypes.h:26
Definition: welltiedata.h:99
Definition: welltiepickset.h:29
Seismic trace.
Definition: seistrc.h:31
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:24
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. 2017