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

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