OpendTect-6_4  6.4
uimathattrib.h
Go to the documentation of this file.
1 #ifndef uimathattrib_h
2 #define uimathattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: October 2001
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiattributesmod.h"
16 #include "uiattrdesced.h"
17 
18 namespace Attrib { class Desc; };
19 class uiMathFormula;
20 class uiGenInput;
21 class uiPushButton;
22 namespace Math { class Formula; }
23 
26 mExpClass(uiAttributes) uiMathAttrib : public uiAttrDescEd
28 public:
29 
30  uiMathAttrib(uiParent*,bool);
31  ~uiMathAttrib();
32 
33  void getEvalParams(TypeSet<EvalParam>&) const;
34 
35 protected:
36 
37  bool setParameters(const Attrib::Desc&);
38  bool setInput(const Attrib::Desc&);
39 
40  bool getParameters(Attrib::Desc&);
41  bool getInput(Attrib::Desc&);
42  DataPack::FullID getInputDPID() const;
43  DataPack::FullID getInputDPID(int inpidx) const;
44  void updateNonSpecInputs();
45 
46  void formSel(CallBacker*);
47  void inpSel(CallBacker*);
48  void rockPhysReq(CallBacker*);
49 
52 
54 };
55 
56 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Math::Formula & form_
Definition: uimathattrib.h:50
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
is the base class for all buttons.
Definition: uibutton.h:83
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Attribute description editor.
Definition: uiattrdesced.h:83
#define mDeclReqAttribUIFns
Definition: uiattrdesced.h:209
Definition: uiparent.h:26
Math formula: (expression, inputs, units, calculation, storage).
Definition: mathformula.h:65
Set of (small) copyable elements.
Definition: commontypes.h:30
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
uiMathFormula * formfld_
Definition: uimathattrib.h:51
General Input Element.
Definition: uigeninput.h:58
Definition: uimathformula.h:34
Math Attribute description editor.
Definition: uimathattrib.h:26
Definition: math2.h:29
Compound key consisting of ints.
Definition: multiid.h:25
Semblance Attribute.
Definition: attribdataholder.h:25

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