OpendTect-6_4  6.4
uiviszstretchdlg.h
Go to the documentation of this file.
1 #ifndef uiviszstretchdlg_h
2 #define uiviszstretchdlg_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: N. Hemstra
8  Date: April 2002
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uivismod.h"
15 #include "uidialog.h"
16 
17 namespace visSurvey
18 { class Scene; }
19 
20 class uiCheckBox;
21 class uiLabeledComboBox;
22 class uiSlider;
23 
28 public:
30  ~uiZStretchDlg();
31 
32  bool valueChanged() const { return valchgd_; }
33 
36 
37 protected:
38 
42  uiButton* vwallbut_;
43 
47 
48 
49  static uiString sZStretch() { return tr( "Z stretch" ); }
50  void setZStretch(visSurvey::Scene*,float,bool permanent);
51  void setOneZStretchToAllScenes(float,bool permanent);
52  void setZStretchesToScenes(TypeSet<float>&,bool permanent);
53 
54  void updateSliderValues(int);
55  visSurvey::Scene* getSelectedScene() const;
56  float getSelectedSceneZStretch() const;
57  float getSelectedSceneUiFactor() const;
58 
59  void doFinalise(CallBacker*);
60  bool acceptOK(CallBacker*);
61  bool rejectOK(CallBacker*);
62  void sliderMove(CallBacker*);
63  void butPush(CallBacker*);
64  void sceneSel(CallBacker*);
65 
66  float initslval_;
68  float uifactor_;
70  bool valchgd_;
72  void updateSliderValues();
74  void setZStretch(float,bool permanent);
76 
77 };
78 
79 #endif
#define mExpClass(module)
Definition: commondefs.h:160
uiLabeledComboBox * scenefld_
Definition: uiviszstretchdlg.h:39
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uislider.h:42
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
TypeSet< float > zstretches_
Definition: uiviszstretchdlg.h:45
Definition: uistring.h:89
Definition: uiparent.h:26
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
uiSlider * sliderfld_
Definition: uiviszstretchdlg.h:40
Definition: uidialog.h:42
float initslval_
will be removed after 6.0
Definition: uiviszstretchdlg.h:66
TypeSet< float > initzstretches_
Definition: uiviszstretchdlg.h:46
uiCheckBox * savefld_
Definition: uiviszstretchdlg.h:41
TypeSet< int > sceneids_
Definition: uiviszstretchdlg.h:44
Database for 3D objects.
Definition: vissurvscene.h:76
Definition: uicombobox.h:133
void sliderMove(CallBacker *)
bool valueChanged() const
Definition: uiviszstretchdlg.h:32
Definition: uiviszstretchdlg.h:26
uiButton * vwallbut_
Definition: uiviszstretchdlg.h:42
CallBack homecb
If not set -> no button.
Definition: uiviszstretchdlg.h:35
static uiString sZStretch()
Definition: uiviszstretchdlg.h:49
CallBack vwallcb
If not set -> no button.
Definition: uiviszstretchdlg.h:34
CallBacks object-oriented (object + method).
Definition: callback.h:57
Definition: uibutton.h:134
bool valchgd_
will be removed after 6.0
Definition: uiviszstretchdlg.h:70
float uifactor_
will be removed after 6.0
Definition: uiviszstretchdlg.h:68

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