OpendTect-6_4  6.4
uiprestackprocessor.h
Go to the documentation of this file.
1 #ifndef uiprestackprocessor_h
2 #define uiprestackprocessor_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 "uiprestackprocessingmod.h"
17 
18 #include "uidialog.h"
19 #include "uigroup.h"
20 
21 #include "factory.h"
22 #include "iopar.h"
23 #include "multiid.h"
24 
25 class uiButton;
26 class uiListBox;
27 class IOObj;
28 
29 namespace PreStack
30 {
31 
32 class ProcessManager;
33 class Processor;
35 mExpClass(uiPreStackProcessing) uiProcessorManager : public uiGroup
37 public:
39 
41 
42  bool restore();
43  const MultiID& lastMid() const { return lastmid_; }
44  void setLastMid(const MultiID& mid);
45  bool isChanged() const { return changed_; }
49  bool save();
50 
51 protected:
52  void updateList();
53  void updateButtons();
54  bool hasPropDialog(int) const;
55  bool showPropDialog(int);
56  bool showPropDialog(Processor&);
57  void factoryClickCB(CallBacker*);
58  void factoryDoubleClickCB(CallBacker*);
59  void processorClickCB(CallBacker*);
60  void processorDoubleClickCB(CallBacker*);
61  void addCB(CallBacker*);
62  void removeCB(CallBacker*);
63  void moveUpCB(CallBacker*);
64  void moveDownCB(CallBacker*);
65  void propertiesCB(CallBacker*);
66  void loadCB(CallBacker*);
67  void saveAsCB(CallBacker*);
68  void saveCB(CallBacker*);
69  bool doSave(const IOObj&);
70  bool doSaveAs();
71 
72 
74 
77 
82  uiButton* moveupbutton_;
83  uiButton* movedownbutton_;
84  uiButton* propertiesbutton_;
85  uiButton* savebutton_;
86  uiButton* saveasbutton_;
87  uiButton* loadbutton_;
88 
89  bool changed_;
90 };
91 
92 
93 mDefineFactory2Param( uiPreStackProcessing, uiDialog, uiParent*, Processor*,
94  uiPSPD );
95 
96 
97 }; //namespace
98 
99 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
uiButton * loadbutton_
Definition: uiprestackprocessor.h:87
ProcessManager & manager_
Definition: uiprestackprocessor.h:75
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: ioobj.h:58
MultiID lastmid_
Definition: uiprestackprocessor.h:76
uiButton * saveasbutton_
Definition: uiprestackprocessor.h:86
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Processes PreStack data at one cdp location. The algorithm is implemented in subclasses, and can be created by the PreStack::PF() factory.
Definition: prestackprocessor.h:36
Definition: synthseis.h:36
Definition: uiparent.h:26
uiButton * savebutton_
Definition: uiprestackprocessor.h:85
Definition: uidialog.h:42
Definition: callback.h:254
List Box.
Definition: uilistbox.h:75
const MultiID & lastMid() const
Definition: uiprestackprocessor.h:43
uiButton * removeprocessorbutton_
Definition: uiprestackprocessor.h:80
Notifier< uiProcessorManager > change
Definition: uiprestackprocessor.h:40
uiButton * propertiesbutton_
Definition: uiprestackprocessor.h:84
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
bool changed_
Definition: uiprestackprocessor.h:89
IOPar restorepar_
Definition: uiprestackprocessor.h:73
uiButton * movedownbutton_
Definition: uiprestackprocessor.h:83
bool isChanged() const
Definition: uiprestackprocessor.h:45
uiListBox * factorylist_
Definition: uiprestackprocessor.h:78
uiButton * addprocessorbutton_
Definition: uiprestackprocessor.h:79
Definition: uiprestackprocessor.h:35
uiListBox * processorlist_
Definition: uiprestackprocessor.h:81
uiButton * moveupbutton_
Definition: uiprestackprocessor.h:82
Orgainizes a number of PreStack::Processors into a chain which can be processed.
Definition: prestackprocessor.h:140
mDefineFactory2Param(uiPreStackProcessing, uiDialog, uiParent *, Processor *, uiPSPD)
Compound key consisting of ints.
Definition: multiid.h:25

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