OpendTect-6_4  6.4
uivolprocbatchsetup.h
Go to the documentation of this file.
1 #ifndef uivolprocbatchsetup_h
2 #define uivolprocbatchsetup_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: June 2001
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uivolumeprocessingmod.h"
16 #include "uidialog.h"
17 #include "mmbatchjobdispatch.h"
18 #include "clusterjobdispatch.h"
19 
20 class IOObj;
21 
23 class uiIOObjSel;
24 class uiSeisSubSel;
25 class uiPushButton;
26 class uiVelocityDesc;
27 
28 
29 namespace VolProc
30 {
31 
32 class Chain;
33 
34 mExpClass(uiVolumeProcessing) uiBatchSetup : public uiDialog
36 
37 public:
39  const IOObj* setupsel=0,
40  bool is2d=false);
41  ~uiBatchSetup();
42 
43  void setIOObj(const IOObj*);
44 
45 protected:
46 
47  bool prepareProcessing();
48  bool fillPar();
49  bool retrieveChain();
50 
57  bool is2d_;
58 
59  void setupSelCB(CallBacker*);
60  void editPushCB(CallBacker*);
61  bool acceptOK(CallBacker*);
62 };
63 
64 } // namespace VolProc
65 
66 
67 namespace Batch
68 {
69 
70 class VolMMProgDef : public MMProgDef
71 {
72 public:
73  VolMMProgDef() : MMProgDef( "od_SeisMMBatch" ) {}
74  virtual bool isSuitedFor(const char*) const;
75  virtual bool canHandle(const JobSpec&) const;
76  static const char* sKeyNeedsFullVolYN() { return "NeedsFullVol"; }
77  bool canResume(const JobSpec&) const;
78 };
79 
81 {
82 public:
84 
85  virtual bool isSuitedFor(const char*) const;
86  virtual bool canHandle(const JobSpec&) const;
87  static const char* sKeyNeedsFullVolYN() { return "NeedsFullVol"; }
88 };
89 
90 
91 } // namespace Batch
92 
93 #endif
#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: uivolprocbatchsetup.h:34
Definition: ioobj.h:58
uiBatchJobDispatcherSel * batchfld_
Definition: uivolprocbatchsetup.h:56
is the base class for all buttons.
Definition: uibutton.h:83
Chain * chain_
Definition: uivolprocbatchsetup.h:55
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiSeisSubSel * subsel_
Definition: uivolprocbatchsetup.h:53
uiIOObjSel * setupsel_
Definition: uivolprocbatchsetup.h:51
Definition: uivolprocbatchsetup.h:70
Definition: uivolprocbatchsetup.h:80
Definition: uiparent.h:26
the data we need to specify an OD batch job.
Definition: batchjobdispatch.h:26
Definition: uidialog.h:42
A chain of Steps that can be applied to a volume of scalars.
Definition: volprocchain.h:29
Definition: uiveldesc.h:29
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:25
VolMMProgDef()
Definition: uivolprocbatchsetup.h:73
Definition: uiseissubsel.h:39
Lets user select a batch job dispatcher suited for the job.
Definition: uibatchjobdispatchersel.h:28
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
VolClusterProgDef()
Definition: uivolprocbatchsetup.h:83
Definition: batchjobdispatch.h:21
bool is2d_
Definition: uivolprocbatchsetup.h:57
Definition: mmbatchjobdispatch.h:21
uiIOObjSel * outputsel_
Definition: uivolprocbatchsetup.h:54
static const char * sKeyNeedsFullVolYN()
Definition: uivolprocbatchsetup.h:76
FixedString Chain()
Definition: keystrs.h:45
Base class for Cluster prog definitions.
Definition: clusterjobdispatch.h:23
static const char * sKeyNeedsFullVolYN()
Definition: uivolprocbatchsetup.h:87
uiPushButton * editsetup_
Definition: uivolprocbatchsetup.h:52

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