OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uivolumeprocessingmod.h"
15 #include "uidialog.h"
16 #include "mmbatchjobdispatch.h"
17 #include "clusterjobdispatch.h"
18 
19 class IOObj;
20 
22 class uiIOObjSel;
23 class uiSeisSubSel;
24 class uiPushButton;
25 class uiVelocityDesc;
26 
27 
28 namespace VolProc
29 {
30 
31 class Chain;
32 
33 mExpClass(uiVolumeProcessing) uiBatchSetup : public uiDialog
35 
36 public:
38  const IOObj* setupsel=0,
39  bool is2d=false);
41 
42  void setIOObj(const IOObj*);
43 
44 protected:
45 
47  bool fillPar();
48  bool retrieveChain();
49 
56  bool is2d_;
57 
61 };
62 
63 } // namespace VolProc
64 
65 
66 namespace Batch
67 {
68 
69 class VolMMProgDef : public MMProgDef
70 {
71 public:
72  VolMMProgDef() : MMProgDef( "od_SeisMMBatch" ) {}
73  virtual bool isSuitedFor(const char*) const;
74  virtual bool canHandle(const JobSpec&) const;
75  static const char* sKeyNeedsFullVolYN() { return "NeedsFullVol"; }
76  bool canResume(const JobSpec&) const;
77 };
78 
80 {
81 public:
83 
84  virtual bool isSuitedFor(const char*) const;
85  virtual bool canHandle(const JobSpec&) const;
86  static const char* sKeyNeedsFullVolYN() { return "NeedsFullVol"; }
87 };
88 
89 
90 } // namespace Batch
91 
VolProc::uiBatchSetup::setIOObj
void setIOObj(const IOObj *)
VolProc
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:24
VolProc::uiBatchSetup::subsel_
uiSeisSubSel * subsel_
Definition: uivolprocbatchsetup.h:52
Batch::VolClusterProgDef::sKeyNeedsFullVolYN
static const char * sKeyNeedsFullVolYN()
Definition: uivolprocbatchsetup.h:86
VolProc::uiBatchSetup::batchfld_
uiBatchJobDispatcherSel * batchfld_
Definition: uivolprocbatchsetup.h:55
uiVelocityDesc
Definition: uiveldesc.h:29
VolProc::uiBatchSetup::editPushCB
void editPushCB(CallBacker *)
VolProc::uiBatchSetup::setupsel_
uiIOObjSel * setupsel_
Definition: uivolprocbatchsetup.h:50
Batch::VolMMProgDef
Definition: uivolprocbatchsetup.h:70
VolProc::uiBatchSetup::fillPar
bool fillPar()
VolProc::uiBatchSetup::prepareProcessing
bool prepareProcessing()
sKey::Chain
FixedString Chain()
Definition: keystrs.h:44
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
VolProc::uiBatchSetup::chain_
Chain * chain_
Definition: uivolprocbatchsetup.h:54
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::uiBatchSetup::retrieveChain
bool retrieveChain()
VolProc::uiBatchSetup
Definition: uivolprocbatchsetup.h:34
Batch::VolClusterProgDef::isSuitedFor
virtual bool isSuitedFor(const char *) const
Batch::VolMMProgDef::sKeyNeedsFullVolYN
static const char * sKeyNeedsFullVolYN()
Definition: uivolprocbatchsetup.h:75
Batch::VolClusterProgDef::canHandle
virtual bool canHandle(const JobSpec &) const
mmbatchjobdispatch.h
Batch::VolClusterProgDef
Definition: uivolprocbatchsetup.h:80
Batch::JobSpec
the data we need to specify an OD batch job.
Definition: batchjobdispatch.h:29
Batch::ClusterProgDef
Base class for Cluster prog definitions.
Definition: clusterjobdispatch.h:23
IOObj
Definition: ioobj.h:58
Batch::VolMMProgDef::canResume
bool canResume(const JobSpec &) const
VolProc::uiBatchSetup::mODTextTranslationClass
mODTextTranslationClass(uiBatchSetup)
uidialog.h
uiBatchJobDispatcherSel
Lets user select a batch job dispatcher suited for the job.
Definition: uibatchjobdispatchersel.h:28
VolProc::uiBatchSetup::acceptOK
bool acceptOK(CallBacker *)
confirm accept
VolProc::uiBatchSetup::~uiBatchSetup
~uiBatchSetup()
uiSeisSubSel
Definition: uiseissubsel.h:39
Batch::VolMMProgDef::canHandle
virtual bool canHandle(const JobSpec &) const
VolProc::uiBatchSetup::outputsel_
uiIOObjSel * outputsel_
Definition: uivolprocbatchsetup.h:53
clusterjobdispatch.h
uiIOObjSel
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
Batch
Definition: batchjobdispatch.h:22
uiParent
Definition: uiparent.h:26
Batch::VolClusterProgDef::VolClusterProgDef
VolClusterProgDef()
Definition: uivolprocbatchsetup.h:82
Batch::VolMMProgDef::VolMMProgDef
VolMMProgDef()
Definition: uivolprocbatchsetup.h:72
VolProc::uiBatchSetup::is2d_
bool is2d_
Definition: uivolprocbatchsetup.h:56
uiDialog
Definition: uidialog.h:42
Batch::MMProgDef
Definition: mmbatchjobdispatch.h:21
VolProc::uiBatchSetup::editsetup_
uiPushButton * editsetup_
Definition: uivolprocbatchsetup.h:51
Batch::VolMMProgDef::isSuitedFor
virtual bool isSuitedFor(const char *) const
VolProc::uiBatchSetup::setupSelCB
void setupSelCB(CallBacker *)
VolProc::uiBatchSetup::uiBatchSetup
uiBatchSetup(uiParent *, const IOObj *setupsel=0, bool is2d=false)
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88

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