OpendTect  6.3
uiscaler.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: June 2002
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uitoolsmod.h"
14 #include "uigroup.h"
15 #include "uistrings.h"
16 
17 class Scaler;
18 class uiGenInput;
19 class uiCheckBox;
20 
21 
22 mExpClass(uiTools) uiScaler : public uiGroup
24 public:
25 
26  uiScaler(uiParent*, const uiString &txt=
27  uiStrings::sEmptyString(), // "Scale values"
28  bool linear_only=false);
29 
30  Scaler* getScaler() const;
31  void setInput(const Scaler&);
32  void setUnscaled();
33 
34  void fillPar(IOPar&) const;
35  void usePar(const IOPar&);
36 
37 protected:
38 
43 
44  void doFinalise(CallBacker*);
45  void typeSel(CallBacker*);
46 };
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
uiGenInput * typefld
Definition: uiscaler.h:40
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
Definition: uiscaler.h:22
uiCheckBox * ynfld
Definition: uiscaler.h:39
Definition: uistring.h:88
Definition: uiparent.h:24
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
General Input Element.
Definition: uigeninput.h:56
Scaling of floating point numbers.
Definition: scaler.h:30
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
static uiString sEmptyString()
Definition: uistrings.h:307
uiGenInput * linearfld
Definition: uiscaler.h:41
Definition: uibutton.h:130
uiGenInput * basefld
Definition: uiscaler.h:42

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