OpendTect  6.3
uimathattrib.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: October 2001
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiattributesmod.h"
14 #include "uiattrdesced.h"
15 
16 namespace Attrib { class Desc; };
17 class uiMathFormula;
18 class uiGenInput;
19 class uiPushButton;
20 namespace Math { class Formula; }
21 
24 mExpClass(uiAttributes) uiMathAttrib : public uiAttrDescEd
26 public:
27 
28  uiMathAttrib(uiParent*,bool);
29  ~uiMathAttrib();
30 
31  void getEvalParams(TypeSet<EvalParam>&) const;
32 
33 protected:
34 
35  bool setParameters(const Attrib::Desc&);
36  bool setInput(const Attrib::Desc&);
37 
38  bool getParameters(Attrib::Desc&);
39  bool getInput(Attrib::Desc&);
40  DataPack::FullID getInputDPID() const;
41  DataPack::FullID getInputDPID(int inpidx) const;
42  void updateNonSpecInputs();
43 
44  void formSel(CallBacker*);
45  void inpSel(CallBacker*);
46  void rockPhysReq(CallBacker*);
47 
50 
52 };
#define mExpClass(module)
Definition: commondefs.h:157
Math::Formula & form_
Definition: uimathattrib.h:48
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Definition: datapack.h:43
is the base class for all buttons.
Definition: uibutton.h:80
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Attribute description editor.
Definition: uiattrdesced.h:80
#define mDeclReqAttribUIFns
Definition: uiattrdesced.h:205
Definition: uiparent.h:24
FixedString Desc()
Definition: keystrs.h:60
Math formula: (expression, inputs, units, calculation, storage).
Definition: mathformula.h:64
Set of (small) copyable elements.
Definition: commontypes.h:26
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
uiMathFormula * formfld_
Definition: uimathattrib.h:49
General Input Element.
Definition: uigeninput.h:56
Definition: uimathformula.h:32
Math Attribute description editor.
Definition: uimathattrib.h:24
Definition: math2.h:27
Semblance Attribute.
Definition: attribdataholder.h:21

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