OpendTect  6.3
uiprestacksel.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bruno
7  Date: Oct 2011
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "uiseismod.h"
13 #include "datapack.h"
14 #include "dbkey.h"
15 #include "uidialog.h"
16 #include "uigroup.h"
17 #include "uistring.h"
18 
19 class CtxtIOObj;
20 class uiIOSelect;
21 class uiListBox;
22 class uiSeisSel;
23 
26 public:
27 
29  const TypeSet<DataPack::FullID>& dpfids,
30  const DBKey& selid);
31 
32  const DBKey& getDBKey() const { return selid_; }
33 
34 protected:
35 
39 
40  bool acceptOK();
41 };
42 
43 
46 public:
47 
48  uiPreStackSel(uiParent*,bool is2d);
49 
50  virtual bool fillPar(IOPar&) const;
51  virtual void usePar(const IOPar&);
52 
53  void setInput(const DBKey&);
54  DBKey getDBKey() const;
55 
56  void setDataPackInp(const TypeSet<DataPack::FullID>& ids);
57  bool inputOK();
58 
59 protected:
60 
63 
64  void doSelDataPack(CallBacker*);
65 
67 
68 };
uiSeisSel * seisinpfld_
Definition: uiprestacksel.h:61
Definition: uigroup.h:53
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiListBox * datapackinpfld_
Definition: uiprestacksel.h:36
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
Definition: uiparent.h:24
DBKey selid_
Definition: uiprestacksel.h:38
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:24
Definition: uidialog.h:40
List Box.
Definition: uilistbox.h:73
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Definition: uiseissel.h:24
void setInput(const IOObj &)
Definition: uiprestacksel.h:44
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
TypeSet< DataPack::FullID > dpfids_
Definition: uiprestacksel.h:66
const TypeSet< DataPack::FullID > & dpfids_
Definition: uiprestacksel.h:37
Definition: uiprestacksel.h:24
const DBKey & getDBKey() const
Definition: uiprestacksel.h:32
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
UI element for selection of data objects.
Definition: uiiosel.h:28
uiIOSelect * datapackinpfld_
Definition: uiprestacksel.h:62

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