OpendTect  6.3
uimultoutsel.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: H. Huck
8  Date: Jan 2009
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiattributesmod.h"
14 #include "uidialog.h"
15 #include "uigroup.h"
16 #include "attribdescid.h"
17 #include "attribsel.h"
18 
19 class BufferStringSet;
20 class uiCheckBox;
21 class uiListBox;
22 namespace Attrib { class Desc; class DescSet; }
23 
28 mExpClass(uiAttributes) uiMultOutSel : public uiDialog
30 public:
32 
33  void getSelectedOutputs(TypeSet<int>&) const;
34  void getSelectedOutNames(BufferStringSet&) const;
35  bool doDisp() const;
36 
37  static void fillInAvailOutNames(const Attrib::Desc&,
39  static bool handleMultiCompChain(Attrib::DescID& selid,
40  const Attrib::DescID& multicompinpid,
41  bool,const Attrib::SelInfo&,
44 
45 protected:
46 
47  void createMultOutDlg(const BufferStringSet&);
48  void allSel(CallBacker*);
49 
52 
53 };
54 
55 
56 
57 mExpClass(uiAttributes) uiMultiAttribSel : public uiGroup
59 public:
62 
63  void getSelIds(TypeSet<Attrib::DescID>&) const;
64  bool is2D() const;
65  void setDescSet(const Attrib::DescSet*);
66 
67 protected:
68 
69  void fillAttribFld();
70  void updateSelFld();
71 
72  void doAdd(CallBacker*);
73  void doRemove(CallBacker*);
74  void moveUp(CallBacker*);
75  void moveDown(CallBacker*);
76 
80 
83 };
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
Supplies lists of available attribute input.
Definition: attribsel.h:148
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
bool is2D(GeomType gt)
Definition: seistype.h:32
TypeSet< Attrib::DescID > allids_
Definition: uimultoutsel.h:78
Definition: uimultoutsel.h:57
Set of attribute descriptions.
Definition: attribdescset.h:29
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:25
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
Definition: uidialog.h:40
Dialog used to determine which outputs of an attribute will be computed at once and stored as multipl...
Definition: uimultoutsel.h:28
List Box.
Definition: uilistbox.h:73
FixedString Desc()
Definition: keystrs.h:60
const Attrib::DescSet * descset_
Definition: uimultoutsel.h:77
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g. "Similarity"), a user reference (e.g. "My similarity"), and at least one output. In addition, it may have parameters and inputs. If it has multiple outputs, only one of the outputs are selected.
Definition: attribdesc.h:87
uiCheckBox * outallfld_
Definition: uimultoutsel.h:51
uiListBox * attribfld_
Definition: uimultoutsel.h:81
TypeSet< Attrib::DescID > selids_
Definition: uimultoutsel.h:79
uiListBox * outlistfld_
Definition: uimultoutsel.h:50
uiListBox * selfld_
Definition: uimultoutsel.h:82
Definition: uibutton.h:130
Semblance Attribute.
Definition: attribdataholder.h:21

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