OpendTect-6_4  6.4
uicrossattrevaluatedlg.h
Go to the documentation of this file.
1 #ifndef uicrossattrevaluatedlg_h
2 #define uicrossattrevaluatedlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Y. Liu
9  Date: March 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uiattributesmod.h"
17 #include "uidialog.h"
18 #include "bufstringset.h"
19 #include "attribdescset.h"
20 
21 class AttribParamGroup;
22 class uiAttribDescSetEd;
23 class uiCheckBox;
24 class uiLabel;
25 class uiLabeledSpinBox;
26 class uiListBox;
27 class uiPushButton;
28 class uiSlider;
29 
32 public:
34  uiAttribDescSetEd&,bool enabstore=true);
36 
37  Attrib::Desc* getAttribDesc() const { return seldesc_; }
38  void getEvalSpecs(TypeSet<Attrib::SelSpec>&) const;
39  Attrib::DescSet* getEvalSet() const { return &attrset_; }
40  bool storeSlices() const;
41  bool evaluationPossible() const { return haspars_; }
43  { return seldeschildids_; }
44  BufferString acceptedDefStr() const;
45 
48 
49 protected:
50 
53 
59 
60  void parameterSel(CallBacker*);
61  void calcPush(CallBacker*);
62  void sliderMove(CallBacker*);
63  void doFinalise(CallBacker*);
64  void getSelDescIDs(
67 
68  bool acceptOK(CallBacker*);
69 
74 
77 
80  BufferStringSet lbls_; //size is nr of steps
81  TypeSet<Attrib::SelSpec> specs_;//size is nr of steps
82 
84  bool enabstore_;
85  bool haspars_;
86 };
87 
88 
89 #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
uiListBox * paramsfld_
Definition: uicrossattrevaluatedlg.h:51
uiPushButton * calcbut
Definition: uicrossattrevaluatedlg.h:54
TypeSet< Attrib::DescID > srcspecids_
Definition: uicrossattrevaluatedlg.h:78
Definition: uislider.h:42
uiLabel * displaylbl
Definition: uicrossattrevaluatedlg.h:57
is the base class for all buttons.
Definition: uibutton.h:83
CNotifier< uiCrossAttrEvaluateDlg, int > showslicecb
Definition: uicrossattrevaluatedlg.h:47
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiSlider * sliderfld
Definition: uicrossattrevaluatedlg.h:55
Attrib::DescSet * getEvalSet() const
Definition: uicrossattrevaluatedlg.h:39
Set of attribute descriptions.
Definition: attribdescset.h:35
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:27
bool haspars_
Definition: uicrossattrevaluatedlg.h:85
const TypeSet< Attrib::DescID > & evaluateChildIds() const
Definition: uicrossattrevaluatedlg.h:42
Definition: uiparent.h:26
TypeSet< Attrib::SelSpec > specs_
Definition: uicrossattrevaluatedlg.h:81
Attrib::DescID srcid_
Definition: uicrossattrevaluatedlg.h:71
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uidialog.h:42
uiLabeledSpinBox * nrstepsfld
Definition: uicrossattrevaluatedlg.h:56
List Box.
Definition: uilistbox.h:75
Definition: uievaluatedlg.h:41
TypeSet< Attrib::DescID > seldeschildids_
Definition: uicrossattrevaluatedlg.h:79
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
bool enabstore_
Definition: uicrossattrevaluatedlg.h:84
Definition: uispinbox.h:128
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:89
TypeSet< BufferStringSet > userattnms_
Definition: uicrossattrevaluatedlg.h:73
Attrib::Desc * seldesc_
Definition: uicrossattrevaluatedlg.h:70
void sliderMove(CallBacker *)
BufferStringSet defstr_
Definition: uicrossattrevaluatedlg.h:83
Attrib::Desc * getAttribDesc() const
Definition: uicrossattrevaluatedlg.h:37
BufferStringSet lbls_
Definition: uicrossattrevaluatedlg.h:80
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uilabel.h:24
Definition: uicrossattrevaluatedlg.h:30
uiCheckBox * storefld
Definition: uicrossattrevaluatedlg.h:58
Editor for Attribute sets.
Definition: uiattrdescseted.h:49
ObjectSet< AttribParamGroup > grps_
Definition: uicrossattrevaluatedlg.h:76
uiListBox * attrnmsfld_
Definition: uicrossattrevaluatedlg.h:52
Definition: uibutton.h:134
Attrib::DescSet & attrset_
Definition: uicrossattrevaluatedlg.h:72
Notifier< uiCrossAttrEvaluateDlg > calccb
Definition: uicrossattrevaluatedlg.h:46
IOPar & initpar_
Definition: uicrossattrevaluatedlg.h:75
bool evaluationPossible() const
Definition: uicrossattrevaluatedlg.h:41

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