OpendTect  6.6
uipsviewer2dposdlg.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bruno
7  Date: Jan 2011
8  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "multiid.h"
14 #include "bufstringset.h"
15 #include "rowcol.h"
16 #include "uistring.h"
17 #include "uiprestackprocessingmod.h"
18 #include "uislicesel.h"
19 
20 class uiListBox;
21 class uiTable;
22 class uiPushButton;
23 class uiToolButton;
24 
25 namespace PreStackView
26 {
27 
28 
29 mStruct(uiPreStackProcessing) GatherInfo
30 {
31  GatherInfo()
32  : isstored_(true), isselected_( false ), vddpid_(-1)
33  , wvadpid_(-1), bid_(mUdf(int),mUdf(int)) {}
34  bool isstored_;
35  bool isselected_;
36  MultiID mid_;
37  int vddpid_;
38  int wvadpid_;
39  BufferString gathernm_;
40  BinID bid_;
41 bool operator==( const GatherInfo& info ) const
42 {
43  return isstored_==info.isstored_ && bid_==info.bid_ &&
44  (isstored_ ? mid_==info.mid_
45  : (gathernm_==info.gathernm_));
46 }
47 
48 };
49 
50 
51 
52 mExpClass(uiPreStackProcessing) uiGatherPosSliceSel : public uiSliceSel
54 public:
56  const BufferStringSet&,
57  bool issynthetic=false);
58 
61  void setStep(int);
62  int step() const;
63 
64  void enableZDisplay(bool);
67 
68 protected:
77 
79  void reDoTable();
80 
87 };
88 
89 mExpClass(uiPreStackProcessing) uiViewer2DPosDlg : public uiDialog
91 public:
93  const TrcKeyZSampling&,
94  const BufferStringSet&,
95  bool issynthetic);
96 
99 
100  void enableZDisplay(bool yn)
101  { sliceselfld_->enableZDisplay(yn); }
103  { sliceselfld_->getSelGatherInfos(infos); }
105  { sliceselfld_->setSelGatherInfos(gi); }
106 
108 
109 protected:
110 
112  bool is2d_;
114 };
115 
116 
117 mExpClass(uiPreStackProcessing) uiViewer2DSelDataDlg : public uiDialog
119 public:
122 protected:
123 
128 
130 
133 };
134 
135 }; //namespace
136 
PreStackView::uiGatherPosSliceSel::getSelGatherInfos
void getSelGatherInfos(TypeSet< GatherInfo > &)
PreStackView
Gather display.
Definition: psviewer2dgatherpainter.h:27
uistring.h
PreStackView::uiViewer2DSelDataDlg::selgathers_
BufferStringSet & selgathers_
Definition: uipsviewer2dposdlg.h:129
PreStackView::uiViewer2DSelDataDlg::mODTextTranslationClass
mODTextTranslationClass(uiViewer2DSelDataDlg)
PreStackView::uiGatherPosSliceSel::resetDispGatherInfos
void resetDispGatherInfos()
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
PreStackView::uiViewer2DPosDlg::uiViewer2DPosDlg
uiViewer2DPosDlg(uiParent *, bool is2d, const TrcKeyZSampling &, const BufferStringSet &, bool issynthetic)
PreStackView::uiViewer2DPosDlg::sliceselfld_
uiGatherPosSliceSel * sliceselfld_
Definition: uipsviewer2dposdlg.h:111
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
PreStackView::uiViewer2DPosDlg::getSelGatherInfos
void getSelGatherInfos(TypeSet< GatherInfo > &infos)
Definition: uipsviewer2dposdlg.h:102
PreStackView::uiViewer2DPosDlg::okpushed_
Notifier< uiViewer2DPosDlg > okpushed_
Definition: uipsviewer2dposdlg.h:107
uiSliceSel
Definition: uislicesel.h:29
PreStackView::uiGatherPosSliceSel::posChged
void posChged(CallBacker *)
PreStackView::uiGatherPosSliceSel::gathernms_
BufferStringSet gathernms_
Definition: uipsviewer2dposdlg.h:72
PreStackView::uiViewer2DSelDataDlg::toselect_
uiToolButton * toselect_
Definition: uipsviewer2dposdlg.h:126
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
PreStackView::uiViewer2DSelDataDlg::fromselect_
uiToolButton * fromselect_
Definition: uipsviewer2dposdlg.h:127
uiSliceSel::Type
Type
Definition: uislicesel.h:32
operator==
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:81
PreStackView::uiViewer2DSelDataDlg::selButPush
void selButPush(CallBacker *)
PreStackView::uiGatherPosSliceSel::mODTextTranslationClass
mODTextTranslationClass(uiGatherPosSliceSel)
PreStackView::uiGatherPosSliceSel::gatherPosChanged
void gatherPosChanged(CallBacker *)
PreStackView::uiViewer2DSelDataDlg::allgatherfld_
uiListBox * allgatherfld_
Definition: uipsviewer2dposdlg.h:124
TrcKeyZSampling
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
PreStackView::uiViewer2DSelDataDlg
Definition: uipsviewer2dposdlg.h:118
PreStackView::uiViewer2DPosDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
multiid.h
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
PreStackView::uiGatherPosSliceSel::reDoTable
void reDoTable()
PreStackView::uiGatherPosSliceSel::issynthetic_
bool issynthetic_
Definition: uipsviewer2dposdlg.h:73
PreStackView::uiGatherPosSliceSel::setSelGatherInfos
void setSelGatherInfos(const TypeSet< GatherInfo > &)
PreStackView::uiGatherPosSliceSel
Definition: uipsviewer2dposdlg.h:53
PreStackView::uiViewer2DPosDlg::setTrcKeyZSampling
void setTrcKeyZSampling(const TrcKeyZSampling &)
PreStackView::uiGatherPosSliceSel::applyPushed
void applyPushed(CallBacker *)
uislicesel.h
PreStackView::uiGatherPosSliceSel::gatherinfos_
TypeSet< GatherInfo > gatherinfos_
Definition: uipsviewer2dposdlg.h:74
mStruct
#define mStruct(module)
Definition: commondefs.h:182
PreStackView::uiGatherPosSliceSel::cellSelectedCB
void cellSelectedCB(CallBacker *)
PreStackView::uiViewer2DPosDlg::getTrcKeyZSampling
void getTrcKeyZSampling(TrcKeyZSampling &)
PreStackView::uiGatherPosSliceSel::step
int step() const
uiListBox
List Box.
Definition: uilistbox.h:75
PreStackView::uiViewer2DPosDlg
Definition: uipsviewer2dposdlg.h:90
PreStackView::uiGatherPosSliceSel::dispgatheridxs_
TypeSet< int > dispgatheridxs_
Definition: uipsviewer2dposdlg.h:75
Notifier
Class to help setup a callback handling.
Definition: notify.h:126
PreStackView::uiGatherPosSliceSel::setStep
void setStep(int)
PreStackView::uiGatherPosSliceSel::updatePosTable
void updatePosTable(CallBacker *)
PreStackView::uiViewer2DSelDataDlg::selgatherfld_
uiListBox * selgatherfld_
Definition: uipsviewer2dposdlg.h:125
PreStackView::uiViewer2DSelDataDlg::uiViewer2DSelDataDlg
uiViewer2DSelDataDlg(uiParent *, const BufferStringSet &, BufferStringSet &)
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
PreStackView::uiGatherPosSliceSel::stepfld_
uiLabeledSpinBox * stepfld_
Definition: uipsviewer2dposdlg.h:69
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
PreStackView::uiGatherPosSliceSel::uiGatherPosSliceSel
uiGatherPosSliceSel(uiParent *, uiSliceSel::Type, const BufferStringSet &, bool issynthetic=false)
PreStackView::uiGatherPosSliceSel::enableZDisplay
void enableZDisplay(bool)
bufstringset.h
PreStackView::uiGatherPosSliceSel::posseltbl_
uiTable * posseltbl_
Definition: uipsviewer2dposdlg.h:71
uiTable
Definition: uitable.h:31
PreStackView::uiGatherPosSliceSel::setTrcKeyZSampling
void setTrcKeyZSampling(const TrcKeyZSampling &)
mUdf
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:274
PreStackView::uiGatherPosSliceSel::cubeSampling
const TrcKeyZSampling & cubeSampling()
uiParent
Definition: uiparent.h:26
PreStackView::uiGatherPosSliceSel::disptblposs_
TypeSet< RowCol > disptblposs_
Definition: uipsviewer2dposdlg.h:76
PreStackView::uiViewer2DSelDataDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
PreStackView::uiGatherPosSliceSel::updbut_
uiPushButton * updbut_
Definition: uipsviewer2dposdlg.h:70
uiLabeledSpinBox
Definition: uispinbox.h:138
PreStackView::uiViewer2DPosDlg::enableZDisplay
void enableZDisplay(bool yn)
Definition: uipsviewer2dposdlg.h:100
PreStackView::uiViewer2DPosDlg::setSelGatherInfos
void setSelGatherInfos(const TypeSet< GatherInfo > &gi)
Definition: uipsviewer2dposdlg.h:104
uiDialog
Definition: uidialog.h:42
PreStackView::uiGatherPosSliceSel::gatherChecked
void gatherChecked(CallBacker *)
PreStackView::uiViewer2DPosDlg::mODTextTranslationClass
mODTextTranslationClass(uiViewer2DPosDlg)
uiToolButton
Definition: uitoolbutton.h:22
rowcol.h
PreStackView::uiViewer2DPosDlg::is2d_
bool is2d_
Definition: uipsviewer2dposdlg.h:112
TypeSet< GatherInfo >
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88

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