OpendTect  6.3
uivolprocchain.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: K. Tingdahl
8  Date: April 2005
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "uivolumeprocessingmod.h"
15 #include "iopar.h"
16 #include "uivolprocstepdlg.h"
17 
18 class IOObj;
19 class uiListBox;
20 class uiButton;
21 class uiIOObjSel;
22 
23 
24 namespace VolProc
25 {
26 
27 class Chain;
28 class Step;
29 
30 
31 mExpClass(uiVolumeProcessing) uiChain : public uiDialog
33 public:
34 
35  uiChain(uiParent*,Chain&,bool is2d,
36  bool withprocessnow);
37  ~uiChain();
38 
39  void setChain(Chain&);
40  const Chain& getChain() const { return chain_; }
41  const DBKey& storageID() const;
42  void addStep(const char* steptype);
43  void emptyChain();
44 
45  static const char* pixmapFileName() { return "volproc"; }
46 
47 protected:
48 
49  static const char* sKeySettingKey();
50 
51  bool acceptOK();
52  bool doSave();
53  bool doSaveAs();
54  void updateList();
55  void updateButtons();
56  void updObj(const IOObj&);
57  bool showPropDialog(int);
58 
59  void readPush(CallBacker*);
60  void savePush(CallBacker*);
61  void saveAsPush(CallBacker*);
62 
63  void factoryClickCB(CallBacker*);
64  void stepClickCB(CallBacker*);
65  void stepDoubleClickCB(CallBacker*);
66  void addStepPush(CallBacker*);
67  void removeStepPush(CallBacker*);
68  void moveUpCB(CallBacker*);
69  void moveDownCB(CallBacker*);
70  void propertiesCB(CallBacker*);
71 
72  static uiString getPossibleInitialStepNames(bool);
73 
76  bool is2d_;
78 
80  uiButton* addstepbutton_;
81  uiButton* removestepbutton_;
83  uiButton* moveupbutton_;
84  uiButton* movedownbutton_;
85  uiButton* propertiesbutton_;
87 };
88 
89 } // namespace VolProc
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Definition: ioobj.h:57
uiIOObjSel * objfld_
Definition: uivolprocchain.h:86
BufferStringSet factorysteptypes_
Definition: uivolprocchain.h:77
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
uiButton * moveupbutton_
Definition: uivolprocchain.h:83
Definition: uistring.h:88
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
Definition: uivolprocchain.h:31
uiButton * propertiesbutton_
Definition: uivolprocchain.h:85
uiListBox * factorylist_
Definition: uivolprocchain.h:79
Definition: uidialog.h:40
List Box.
Definition: uilistbox.h:73
IOPar restorepar_
Definition: uivolprocchain.h:74
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
A chain of Steps that can be applied to a volume of scalars.
Definition: volprocchain.h:27
Adapter for a VolProc chain to external attribute calculation.
Definition: velocitygridder.h:29
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
const Chain & getChain() const
Definition: uivolprocchain.h:40
uiButton * movedownbutton_
Definition: uivolprocchain.h:84
uiListBox * steplist_
Definition: uivolprocchain.h:82
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
uiButton * addstepbutton_
Definition: uivolprocchain.h:80
FixedString Chain()
Definition: keystrs.h:43
bool is2d_
Definition: uivolprocchain.h:76
Chain & chain_
Definition: uivolprocchain.h:75
static const char * pixmapFileName()
Definition: uivolprocchain.h:45
uiButton * removestepbutton_
Definition: uivolprocchain.h:81

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