OpendTect  6.6
uispecdecompattrib.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: January 2003
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiattributesmod.h"
15 #include "multiid.h"
16 #include "uiattrdesced.h"
17 #include "uiattribpanel.h"
18 #include "iopar.h"
19 
20 namespace Attrib { class Desc; }
21 
22 class uiGenInput;
23 class uiImagAttrSel;
24 class uiLabeledSpinBox;
25 class uiPushButton;
26 class uiSpecDecompPanel;
27 class uiTrcPositionDlg;
28 
33 public:
34 
37 
39  int getOutputIdx(float) const;
40  float getOutputValue(int) const;
41 protected:
42 
49 
51  bool setInput(const Attrib::Desc&);
52  bool setOutput(const Attrib::Desc&);
53 
57 
62 
63  void checkOutValSnapped() const;
64  void getInputMID(MultiID&) const;
67  Attrib::DescID&) const;
69  const char*,int,int,BufferString) const;
71  const char* userefstr) const;
73  bool passStdCheck(const Attrib::Desc*,const char*,
74  int seloutidx,int inpidx,
75  Attrib::DescID inpid) const;
77  void setPrevSel();
78  void getPrevSel();
79  static const char* sKeyBinID();
80  static const char* sKeyLineName();
81  static const char* sKeyTrcNr();
82 
83  float nyqfreq_;
84  int nrsamples_;
85  float ds_;
86 
91 
93 };
94 
95 
96 mClass(uiAttributes) uiSpecDecompPanel : public uiAttribPanel
98 public:
100  : uiAttribPanel( p ) {}
101 
102 protected:
103  virtual const char* getProcName();
104  virtual const char* getPackName();
105  virtual const char* getPanelName();
106 
107 };
108 
uiSpecDecompAttrib::prevpar_
IOPar prevpar_
Definition: uispecdecompattrib.h:90
Attrib::DescID
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:27
mDeclReqAttribUIFns
#define mDeclReqAttribUIFns
Definition: uiattrdesced.h:213
uiSpecDecompAttrib::getOutputIdx
int getOutputIdx(float) const
uiSpecDecompAttrib::stepChg
void stepChg(CallBacker *)
uiImagAttrSel
User interface element for getting attribute with both real and imaginary part.
Definition: uiattrsel.h:248
uiSpecDecompAttrib::getOutput
bool getOutput(Attrib::Desc &)
uiSpecDecompPanel::getProcName
virtual const char * getProcName()
uiSpecDecompAttrib::typefld_
uiGenInput * typefld_
Definition: uispecdecompattrib.h:44
uiSpecDecompAttrib::sKeyBinID
static const char * sKeyBinID()
uiSpecDecompAttrib::passStdCheck
bool passStdCheck(const Attrib::Desc *, const char *, int seloutidx, int inpidx, Attrib::DescID inpid) const
uiAttrDescEd
Attribute description editor.
Definition: uiattrdesced.h:83
uiSpecDecompAttrib::outpfld_
uiLabeledSpinBox * outpfld_
Definition: uispecdecompattrib.h:46
uiSpecDecompAttrib
Spectral Decomposition Attribute description editor.
Definition: uispecdecompattrib.h:32
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiSpecDecompAttrib::setParameters
bool setParameters(const Attrib::Desc &)
uiSpecDecompPanel::getPackName
virtual const char * getPackName()
uiSpecDecompAttrib::inputSel
void inputSel(CallBacker *)
uiSpecDecompAttrib::ds_
float ds_
Sample spacing of selected data.
Definition: uispecdecompattrib.h:85
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiSpecDecompAttrib::createHilbertDesc
void createHilbertDesc(Attrib::DescSet *, Attrib::DescID &) const
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiSpecDecompAttrib::panelTFPush
void panelTFPush(CallBacker *)
uiSpecDecompAttrib::sKeyLineName
static const char * sKeyLineName()
multiid.h
uiSpecDecompAttrib::tfpanelbut_
uiPushButton * tfpanelbut_
Definition: uispecdecompattrib.h:87
uiSpecDecompAttrib::getOutputValue
float getOutputValue(int) const
uiSpecDecompAttrib::nyqfreq_
float nyqfreq_
Definition: uispecdecompattrib.h:83
uiSpecDecompAttrib::gatefld_
uiGenInput * gatefld_
Definition: uispecdecompattrib.h:45
uiSpecDecompAttrib::setPrevSel
void setPrevSel()
uiSpecDecompAttrib::waveletfld_
uiGenInput * waveletfld_
Definition: uispecdecompattrib.h:48
uiSpecDecompAttrib::getInput
bool getInput(Attrib::Desc &)
uiSpecDecompAttrib::typeSel
void typeSel(CallBacker *)
uiSpecDecompAttrib::~uiSpecDecompAttrib
mODTextTranslationClass(uiSpecDecompAttrib) public ~uiSpecDecompAttrib()
uiSpecDecompAttrib::getEvalParams
void getEvalParams(TypeSet< EvalParam > &) const
uiSpecDecompAttrib::getParameters
bool getParameters(Attrib::Desc &)
mClass
#define mClass(module)
Definition: commondefs.h:181
uiSpecDecompAttrib::createSpecDecompDesc
Attrib::DescID createSpecDecompDesc(Attrib::DescSet *) const
uiSpecDecompAttrib::inpfld_
uiImagAttrSel * inpfld_
Definition: uispecdecompattrib.h:43
uiSpecDecompAttrib::checkOutValSnapped
void checkOutValSnapped() const
uiSpecDecompPanel
Definition: uispecdecompattrib.h:97
uiSpecDecompAttrib::setOutput
bool setOutput(const Attrib::Desc &)
uiTrcPositionDlg
Definition: uitrcpositiondlg.h:49
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
uiSpecDecompPanel::getPanelName
virtual const char * getPanelName()
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiSpecDecompAttrib::fillInSDDescParams
void fillInSDDescParams(Attrib::Desc *) const
uiSpecDecompPanel::mODTextTranslationClass
mODTextTranslationClass(uiSpecDecompPanel) public
Definition: uispecdecompattrib.h:97
uiSpecDecompAttrib::positiondlg_
uiTrcPositionDlg * positiondlg_
Definition: uispecdecompattrib.h:89
uiAttribPanel
Attribute preview in a 2d viewer.
Definition: uiattribpanel.h:28
uiSpecDecompAttrib::setInput
bool setInput(const Attrib::Desc &)
uiSpecDecompAttrib::stepfld_
uiLabeledSpinBox * stepfld_
Definition: uispecdecompattrib.h:47
uiSpecDecompAttrib::getInputMID
void getInputMID(MultiID &) const
iopar.h
uiParent
Definition: uiparent.h:26
uiSpecDecompAttrib::getPrevSel
void getPrevSel()
uiSpecDecompAttrib::panelview_
uiSpecDecompPanel * panelview_
Time Frequency panel.
Definition: uispecdecompattrib.h:88
uiSpecDecompAttrib::createNewDesc
Attrib::Desc * createNewDesc(Attrib::DescSet *, Attrib::DescID, const char *, int, int, BufferString) const
uiattrdesced.h
uiSpecDecompAttrib::viewPanalCB
void viewPanalCB(CallBacker *)
Attrib::DescSet
Set of attribute descriptions.
Definition: attribdescset.h:35
uiLabeledSpinBox
Definition: uispinbox.h:138
Attrib
Semblance Attribute.
Definition: attribdataholder.h:25
Attrib::Desc
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g....
Definition: attribdesc.h:89
uiSpecDecompAttrib::sKeyTrcNr
static const char * sKeyTrcNr()
uiSpecDecompAttrib::createNewDescFromDP
Attrib::Desc * createNewDescFromDP(Attrib::DescSet *, const char *atrnm, const char *userefstr) const
uiattribpanel.h
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
uiSpecDecompAttrib::nrsamples_
int nrsamples_
Nr of samples in selected data.
Definition: uispecdecompattrib.h:84
TypeSet
Sets of (small) copyable elements.
Definition: commontypes.h:29
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88

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