OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "uivolumeprocessingmod.h"
16 #include "iopar.h"
17 #include "uivolprocstepdlg.h"
18 
19 class IOObj;
20 class uiButton;
21 class uiIOObjSel;
22 class uiListBox;
23 class uiToolBar;
24 
25 
26 namespace VolProc
27 {
28 
29 class Chain;
30 class Step;
31 
32 
33 mExpClass(uiVolumeProcessing) uiChain : public uiDialog
35 public:
36 
38  bool withprocessnow,bool is2d=false);
40 
41  void setChain(Chain&);
42  const Chain& getChain() const { return chain_; }
43  const MultiID& storageID() const;
44  void addStep(const char* steptype);
45  void emptyChain();
46 
47  static const char* pixmapFileName() { return "volproc"; }
48 
49 protected:
50 
51  static const char* sKeySettingKey();
52 
54  bool doSave();
55  bool doSaveAs();
56  void updateList();
57  void updateButtons();
58  void updObj(const IOObj&);
59  void updWriteStatus(const IOObj*);
60  bool showPropDialog(int);
61 
65 
74 
76 
79  bool is2d_;
81 
83  uiButton* addstepbutton_;
84  uiButton* removestepbutton_;
86  uiButton* moveupbutton_;
87  uiButton* movedownbutton_;
88  uiButton* propertiesbutton_;
90 
91 private:
94 
95 };
96 
97 } // namespace VolProc
98 
VolProc::uiChain::updWriteStatus
void updWriteStatus(const IOObj *)
VolProc::uiChain::is2d_
bool is2d_
Definition: uivolprocchain.h:79
VolProc::uiChain::factorysteptypes_
BufferStringSet factorysteptypes_
Definition: uivolprocchain.h:80
VolProc::uiChain::doSave
bool doSave()
VolProc::uiChain::savePush
void savePush(CallBacker *)
VolProc::uiChain::removestepbutton_
uiButton * removestepbutton_
Definition: uivolprocchain.h:84
VolProc
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:24
VolProc::uiChain::emptyChain
void emptyChain()
VolProc::uiChain::readPush
void readPush(CallBacker *)
VolProc::uiChain::addstepbutton_
uiButton * addstepbutton_
Definition: uivolprocchain.h:83
VolProc::uiChain::chain_
Chain & chain_
Definition: uivolprocchain.h:78
VolProc::uiChain::doSaveAs
bool doSaveAs()
VolProc::uiChain::showPropDialog
bool showPropDialog(int)
uivolprocstepdlg.h
VolProc::uiChain::moveupbutton_
uiButton * moveupbutton_
Definition: uivolprocchain.h:86
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
VolProc::uiChain::tb_
uiToolBar * tb_
Definition: uivolprocchain.h:92
VolProc::uiChain::propertiesbutton_
uiButton * propertiesbutton_
Definition: uivolprocchain.h:88
uiToolBar
Definition: uitoolbar.h:31
VolProc::uiChain::setChain
void setChain(Chain &)
VolProc::uiChain::restorepar_
IOPar restorepar_
Definition: uivolprocchain.h:77
sKey::Chain
FixedString Chain()
Definition: keystrs.h:44
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
VolProc::uiChain::getChain
const Chain & getChain() const
Definition: uivolprocchain.h:42
VolProc::uiChain::moveDownCB
void moveDownCB(CallBacker *)
VolProc::uiChain::updObj
void updObj(const IOObj &)
VolProc::uiChain
Definition: uivolprocchain.h:34
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
VolProc::Chain
A chain of Steps that can be applied to a volume of scalars.
Definition: volprocchain.h:29
VolProc::uiChain::updateList
void updateList()
VolProc::uiChain::objfld_
uiIOObjSel * objfld_
Definition: uivolprocchain.h:89
VolProc::uiChain::~uiChain
~uiChain()
VolProc::uiChain::getPossibleInitialStepNames
static uiString getPossibleInitialStepNames(bool)
VolProc::uiChain::stepClickCB
void stepClickCB(CallBacker *)
VolProc::uiChain::uiChain
uiChain(uiParent *, Chain &, bool withprocessnow, bool is2d=false)
VolProc::uiChain::saveAsPush
void saveAsPush(CallBacker *)
VolProc::uiChain::removeStepPush
void removeStepPush(CallBacker *)
uiListBox
List Box.
Definition: uilistbox.h:75
IOObj
Definition: ioobj.h:58
VolProc::uiChain::factorylist_
uiListBox * factorylist_
Definition: uivolprocchain.h:82
VolProc::uiChain::savebuttonid_
int savebuttonid_
Definition: uivolprocchain.h:93
VolProc::uiChain::stepDoubleClickCB
void stepDoubleClickCB(CallBacker *)
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
VolProc::uiChain::sKeySettingKey
static const char * sKeySettingKey()
VolProc::uiChain::propertiesCB
void propertiesCB(CallBacker *)
VolProc::uiChain::mODTextTranslationClass
mODTextTranslationClass(uiChain)
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
VolProc::uiChain::storageID
const MultiID & storageID() const
VolProc::uiChain::pixmapFileName
static const char * pixmapFileName()
Definition: uivolprocchain.h:47
uiIOObjSel
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
VolProc::uiChain::addStepPush
void addStepPush(CallBacker *)
VolProc::uiChain::updateButtons
void updateButtons()
iopar.h
VolProc::uiChain::movedownbutton_
uiButton * movedownbutton_
Definition: uivolprocchain.h:87
uiParent
Definition: uiparent.h:26
VolProc::uiChain::factoryClickCB
void factoryClickCB(CallBacker *)
VolProc::uiChain::moveUpCB
void moveUpCB(CallBacker *)
uiDialog
Definition: uidialog.h:42
VolProc::uiChain::acceptOK
bool acceptOK(CallBacker *)
confirm accept
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
VolProc::uiChain::addStep
void addStep(const char *steptype)
VolProc::uiChain::steplist_
uiListBox * steplist_
Definition: uivolprocchain.h:85

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