OpendTect-6_4  6.4
uivolprocchain.h
Go to the documentation of this file.
1 #ifndef uivolprocchain_h
2 #define uivolprocchain_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: April 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uivolumeprocessingmod.h"
17 #include "iopar.h"
18 #include "uivolprocstepdlg.h"
19 
20 class IOObj;
21 class uiButton;
22 class uiIOObjSel;
23 class uiListBox;
24 class uiToolBar;
25 
26 
27 namespace VolProc
28 {
29 
30 class Chain;
31 class Step;
32 
33 
34 mExpClass(uiVolumeProcessing) uiChain : public uiDialog
36 public:
37 
39  bool withprocessnow,bool is2d=false);
40  ~uiChain();
41 
42  void setChain(Chain&);
43  const Chain& getChain() const { return chain_; }
44  const MultiID& storageID() const;
45  void addStep(const char* steptype);
46  void emptyChain();
47 
48  static const char* pixmapFileName() { return "volproc"; }
49 
50 protected:
51 
52  static const char* sKeySettingKey();
53 
54  bool acceptOK(CallBacker*);
55  bool doSave();
56  bool doSaveAs();
57  void updateList();
58  void updateButtons();
59  void updObj(const IOObj&);
60  void updWriteStatus(const IOObj*);
61  bool showPropDialog(int);
62 
63  void readPush(CallBacker*);
64  void savePush(CallBacker*);
65  void saveAsPush(CallBacker*);
66 
67  void factoryClickCB(CallBacker*);
68  void stepClickCB(CallBacker*);
69  void stepDoubleClickCB(CallBacker*);
70  void addStepPush(CallBacker*);
71  void removeStepPush(CallBacker*);
72  void moveUpCB(CallBacker*);
73  void moveDownCB(CallBacker*);
74  void propertiesCB(CallBacker*);
75 
76  static uiString getPossibleInitialStepNames(bool);
77 
80  bool is2d_;
82 
84  uiButton* addstepbutton_;
85  uiButton* removestepbutton_;
87  uiButton* moveupbutton_;
88  uiButton* movedownbutton_;
89  uiButton* propertiesbutton_;
91 
92 private:
95 
96 };
97 
98 } // namespace VolProc
99 
100 #endif
Definition: uitoolbar.h:31
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: ioobj.h:58
uiIOObjSel * objfld_
Definition: uivolprocchain.h:90
BufferStringSet factorysteptypes_
Definition: uivolprocchain.h:81
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiButton * moveupbutton_
Definition: uivolprocchain.h:87
Definition: uistring.h:89
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uivolprocchain.h:34
uiButton * propertiesbutton_
Definition: uivolprocchain.h:89
uiListBox * factorylist_
Definition: uivolprocchain.h:83
Definition: uidialog.h:42
List Box.
Definition: uilistbox.h:75
IOPar restorepar_
Definition: uivolprocchain.h:78
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
A chain of Steps that can be applied to a volume of scalars.
Definition: volprocchain.h:29
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:25
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
const Chain & getChain() const
Definition: uivolprocchain.h:43
uiButton * movedownbutton_
Definition: uivolprocchain.h:88
int savebuttonid_
Definition: uivolprocchain.h:94
uiListBox * steplist_
Definition: uivolprocchain.h:86
uiButton * addstepbutton_
Definition: uivolprocchain.h:84
FixedString Chain()
Definition: keystrs.h:45
bool is2d_
Definition: uivolprocchain.h:80
Chain & chain_
Definition: uivolprocchain.h:79
static const char * pixmapFileName()
Definition: uivolprocchain.h:48
uiButton * removestepbutton_
Definition: uivolprocchain.h:85
uiToolBar * tb_
Definition: uivolprocchain.h:93
Compound key consisting of ints.
Definition: multiid.h:25

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