OpendTect-6_4  6.4
uiseisbrowser.h
Go to the documentation of this file.
1 #ifndef uiseisbrowser_h
2 #define uiseisbrowser_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Sulochana/Satyaki
9  Date: Oct 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiseismod.h"
16 #include "uidialog.h"
17 
18 #include "bufstringset.h"
19 #include "linekey.h"
20 #include "multiid.h"
21 #include "position.h"
22 #include "seistype.h"
23 #include "samplingdata.h"
24 
26 class IOObj;
27 class SeisTrc;
28 class SeisTrcBuf;
29 class SeisTrcBufDataPack;
30 class uiComboBox;
31 class uiSeisTrcBufViewer;
32 class uiSeisBrowserInfoVwr;
33 class uiSpinBox;
34 class uiTable;
35 namespace ZDomain { class Def; }
36 
37 
40 public :
41 
42  mExpClass(uiSeis) Setup : public uiDialog::Setup
44  public:
48  mDefSetupMemb(BinID,startpos)
49  mDefSetupMemb(float,startz)
50  mDefSetupMemb(LineKey,linekey)
51  mDefSetupMemb(bool,readonly)
52 
53  };
54  uiSeisBrowser(uiParent*,const Setup&,bool);
55  ~uiSeisBrowser();
56 
57  bool isOK() const { return tbl_; }
58  void setPos(const BinID&,bool);
59  bool doSetPos(const BinID&,bool force,bool veryfirst=false);
60  void setZ(float) ;
61  void setCrlWise( bool yn=true ) { crlwise_ = yn; }
62  void commitChanges();
63  bool storeChgdData();
64  bool goTo(const BinID&);
65 
66 
67  int stepOut() { return stepout_; }
68  void setStepout(int);
69  bool is2D() const;
70  bool is2d_;
71 
72  const BinID& curBinID() const;
73  float curZ() const;
74  void setCompNr( int compnr ) { compnr_ = compnr; }
75 
76  static void doBrowse(uiParent*,const IOObj&,bool is2d,
77  const LineKey* lk=0);
78 
79 protected:
80 
81  const Setup setup_;
82  uiSeisBrowserInfoVwr* infovwr_;
84 
92 
93  bool crlwise_;
98 
99  int stepout_;
100 
103  int compnr_;
104  int nrcomps_;
108 
109  bool openData(const Setup&);
110  void createMenuAndToolBar();
111  void createTable();
112  void fillTable();
113  void fillUdf(SeisTrc&);
114  void fillTableColumn(const SeisTrc&,int);
115  BinID getNextBid(const BinID&,int,bool) const;
116  void addTrc(SeisTrcBuf&,const BinID&);
117  void updateWiggleButtonStatus();
118  void setTrcBufViewTitle();
119 
120  void goToPush(CallBacker*);
121  void infoPush(CallBacker*);
122  void infoClose(CallBacker*);
123  void rightArrowPush(CallBacker*);
124  void leftArrowPush(CallBacker*);
125  void switchViewTypePush(CallBacker*);
126  bool acceptOK(CallBacker*);
127  void dispTracesPush(CallBacker*);
128  void trcbufViewerClosed(CallBacker*);
129  void trcselectionChanged(CallBacker*);
130  void valChgReDraw(CallBacker*);
131  void chgCompNrCB(CallBacker*);
132  void nrTracesChgCB(CallBacker*);
133 
134 private:
135 
138 };
139 
140 
141 #endif
const Setup setup_
Definition: uiseisbrowser.h:81
Definition: uitoolbar.h:31
#define mExpClass(module)
Definition: commondefs.h:160
description of properties of dialog.
Definition: uidialog.h:51
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
CBVSSeisTrcTranslator * tri_
Definition: uiseisbrowser.h:90
FixedString Setup()
Definition: keystrs.h:116
Definition: ioobj.h:58
const ZDomain::Def * zdomdef_
Definition: uiseisbrowser.h:91
void setCrlWise(bool yn=true)
Definition: uiseisbrowser.h:61
uiTable * tbl_
Definition: uiseisbrowser.h:101
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
void setCompNr(int compnr)
Definition: uiseisbrowser.h:74
int nrsamples_
Definition: uiseisbrowser.h:106
SeisTrcBuf & tbufbefore_
Definition: uiseisbrowser.h:136
Definition: uitable.h:30
uiSeisBrowserInfoVwr * infovwr_
Definition: uiseisbrowser.h:82
Combo box.
Definition: uicombobox.h:32
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
int stepout_
Definition: uiseisbrowser.h:99
Definition: uiseistrcbufviewer.h:28
bool isOK() const
Definition: uiseisbrowser.h:57
uiSeisTrcBufViewer * trcbufvwr_
Definition: uiseisbrowser.h:83
Definition: uidialog.h:42
Key for a line in a line set.
Definition: linekey.h:22
GeomType
Definition: seistype.h:33
uiSpinBox * nrtrcsfld_
Definition: uiseisbrowser.h:97
SamplingData< float > sd_
Definition: uiseisbrowser.h:107
int compnr_
Definition: uiseisbrowser.h:103
int nrcomps_
Definition: uiseisbrowser.h:104
SeisTrcBuf & tbufchgdtrcs_
Definition: uiseisbrowser.h:86
SeisTrcBuf & tbuf_
Definition: uiseisbrowser.h:85
FlatDataPack based on SeisTrcBuf.
Definition: seisbufadapters.h:65
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
Definition: uispinbox.h:24
uiToolBar * uitb_
Definition: uiseisbrowser.h:102
bool is2d_
Definition: uiseisbrowser.h:70
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
SeisTrcBuf & tbufafter_
Definition: uiseisbrowser.h:137
bool is2D(const PicksType &picks)
Definition: pickset.h:142
set of seismic traces.
Definition: seisbuf.h:31
bool crlwise_
Definition: uiseisbrowser.h:93
int showwgglbutidx_
Definition: uiseisbrowser.h:95
uiComboBox * selcompnmfld_
Definition: uiseisbrowser.h:96
int stepOut()
Definition: uiseisbrowser.h:67
BufferStringSet compnms_
Definition: uiseisbrowser.h:105
Definition of z-domain.
Definition: zdomain.h:41
Definition: uiseisbrowser.h:38
Compound key consisting of ints.
Definition: multiid.h:25
Definition: seiscbvs.h:26
CBVSSeisTrcTranslator * tr_
Definition: uiseisbrowser.h:88
CBVSSeisTrcTranslator * tro_
Definition: uiseisbrowser.h:89
Definition: zdomain.h:20
int crlwisebutidx_
Definition: uiseisbrowser.h:94
SeisTrc & ctrc_
Definition: uiseisbrowser.h:87

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