OpendTect  6.3
uivolprocbatchsetup.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: Nanne Hemstra
8  Date: June 2001
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uivolumeprocessingmod.h"
14 #include "uidialog.h"
15 #include "mmbatchjobdispatch.h"
16 
17 class IOObj;
18 
20 class uiIOObjSel;
21 class uiSeisSubSel;
22 class uiPushButton;
23 class uiVelocityDesc;
24 
25 
26 namespace VolProc
27 {
28 
29 class Chain;
30 
31 mExpClass(uiVolumeProcessing) uiBatchSetup : public uiDialog
33 
34 public:
35  uiBatchSetup(uiParent*,bool is2d,
36  const IOObj* setupsel=0);
37  ~uiBatchSetup();
38 
39 protected:
40 
41  bool prepareProcessing();
42  bool fillPar();
43  bool retrieveChain();
44 
51  bool is2d_;
52 
53  void setupSelCB(CallBacker*);
54  void editPushCB(CallBacker*);
55  bool acceptOK();
56 };
57 
58 } // namespace VolProc
59 
60 
61 namespace Batch
62 {
63 
64 class VolMMProgDef : public MMProgDef
65 {
66 public:
67  VolMMProgDef() : MMProgDef( "od_SeisMMBatch" ) {}
68  virtual bool isSuitedFor(const char*) const;
69  virtual bool canHandle(const JobSpec&) const;
70  static const char* sKeyNeedsFullVolYN() { return "NeedsFullVol"; }
71 };
72 
73 
74 } // namespace Batch
#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: uivolprocbatchsetup.h:31
Definition: ioobj.h:57
uiBatchJobDispatcherSel * batchfld_
Definition: uivolprocbatchsetup.h:50
is the base class for all buttons.
Definition: uibutton.h:80
Chain * chain_
Definition: uivolprocbatchsetup.h:49
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
uiSeisSubSel * subsel_
Definition: uivolprocbatchsetup.h:47
uiIOObjSel * setupsel_
Definition: uivolprocbatchsetup.h:45
Definition: uivolprocbatchsetup.h:64
Definition: uiparent.h:24
the data we need to specify an OD batch job.
Definition: batchjobdispatch.h:24
Definition: uidialog.h:40
A chain of Steps that can be applied to a volume of scalars.
Definition: volprocchain.h:27
Definition: uiveldesc.h:27
Adapter for a VolProc chain to external attribute calculation.
Definition: velocitygridder.h:29
VolMMProgDef()
Definition: uivolprocbatchsetup.h:67
Definition: uiseissubsel.h:37
Lets user select a batch job dispatcher suited for the job.
Definition: uibatchjobdispatchersel.h:25
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
Definition: batchjobdispatch.h:19
bool is2d_
Definition: uivolprocbatchsetup.h:51
Definition: mmbatchjobdispatch.h:19
uiIOObjSel * outputsel_
Definition: uivolprocbatchsetup.h:48
static const char * sKeyNeedsFullVolYN()
Definition: uivolprocbatchsetup.h:70
FixedString Chain()
Definition: keystrs.h:43
uiPushButton * editsetup_
Definition: uivolprocbatchsetup.h:46

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