OpendTect  6.6
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  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uivismod.h"
14 #include "uidialog.h"
15 
16 namespace visSurvey
17 { class Scene; }
18 
19 class uiCheckBox;
20 class uiLabeledComboBox;
21 class uiSlider;
22 
27 public:
30 
31  bool valueChanged() const { return valchgd_; }
32 
35 
36 protected:
37 
41  uiButton* vwallbut_;
42 
46 
47 
48  static uiString sZStretch() { return tr( "Z stretch" ); }
49  void setZStretch(visSurvey::Scene*,float,bool permanent);
50  void setOneZStretchToAllScenes(float,bool permanent);
51  void setZStretchesToScenes(TypeSet<float>&,bool permanent);
52 
53  void updateSliderValues(int);
55  float getSelectedSceneZStretch() const;
56  float getSelectedSceneUiFactor() const;
57 
64 
65  float initslval_;
67  float uifactor_;
69  bool valchgd_;
73  void setZStretch(float,bool permanent);
75 
76 };
77 
uiZStretchDlg::getSelectedSceneZStretch
float getSelectedSceneZStretch() const
uiZStretchDlg
Definition: uiviszstretchdlg.h:26
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiCheckBox
Definition: uibutton.h:167
uiZStretchDlg::uiZStretchDlg
uiZStretchDlg(uiParent *)
uiZStretchDlg::sceneids_
TypeSet< int > sceneids_
Definition: uiviszstretchdlg.h:43
uiZStretchDlg::~uiZStretchDlg
~uiZStretchDlg()
uiZStretchDlg::sliderfld_
uiSlider * sliderfld_
Definition: uiviszstretchdlg.h:39
uiZStretchDlg::initslval_
float initslval_
will be removed after 6.0
Definition: uiviszstretchdlg.h:65
uiZStretchDlg::setZStretch
void setZStretch(visSurvey::Scene *, float, bool permanent)
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiZStretchDlg::updateSliderValues
void updateSliderValues()
will be removed after 6.0
uiZStretchDlg::getSelectedScene
visSurvey::Scene * getSelectedScene() const
uiZStretchDlg::sliderMove
void sliderMove(CallBacker *)
uiZStretchDlg::savefld_
uiCheckBox * savefld_
Definition: uiviszstretchdlg.h:40
uiZStretchDlg::initzstretches_
TypeSet< float > initzstretches_
Definition: uiviszstretchdlg.h:45
uiZStretchDlg::getSelectedSceneUiFactor
float getSelectedSceneUiFactor() const
uiZStretchDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
CallBack
CallBacks object-oriented (object + method).
Definition: callback.h:62
uiLabeledComboBox
Definition: uicombobox.h:145
uiZStretchDlg::updateSliderValues
void updateSliderValues(int)
uiSlider
Definition: uislider.h:42
uiZStretchDlg::valueChanged
bool valueChanged() const
Definition: uiviszstretchdlg.h:31
uiZStretchDlg::sZStretch
static uiString sZStretch()
Definition: uiviszstretchdlg.h:48
visSurvey::Scene
Database for 3D objects.
Definition: vissurvscene.h:76
uidialog.h
uiZStretchDlg::rejectOK
bool rejectOK(CallBacker *)
confirm reject
uiZStretchDlg::mODTextTranslationClass
mODTextTranslationClass(uiZStretchDlg)
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
uiZStretchDlg::setOneZStretchToAllScenes
void setOneZStretchToAllScenes(float, bool permanent)
uiZStretchDlg::homecb
CallBack homecb
If not set -> no button.
Definition: uiviszstretchdlg.h:34
uiZStretchDlg::vwallbut_
uiButton * vwallbut_
Definition: uiviszstretchdlg.h:41
uiZStretchDlg::vwallcb
CallBack vwallcb
If not set -> no button.
Definition: uiviszstretchdlg.h:33
uiZStretchDlg::sceneSel
void sceneSel(CallBacker *)
visSurvey
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
uiZStretchDlg::doFinalise
void doFinalise(CallBacker *)
uiParent
Definition: uiparent.h:26
uiZStretchDlg::uifactor_
float uifactor_
will be removed after 6.0
Definition: uiviszstretchdlg.h:67
uiZStretchDlg::butPush
void butPush(CallBacker *)
uiDialog
Definition: uidialog.h:42
uiZStretchDlg::zstretches_
TypeSet< float > zstretches_
Definition: uiviszstretchdlg.h:44
uiZStretchDlg::setZStretch
void setZStretch(float, bool permanent)
will be removed after 6.0
uiZStretchDlg::setZStretchesToScenes
void setZStretchesToScenes(TypeSet< float > &, bool permanent)
uiZStretchDlg::scenefld_
uiLabeledComboBox * scenefld_
Definition: uiviszstretchdlg.h:38
uiZStretchDlg::valchgd_
bool valchgd_
will be removed after 6.0
Definition: uiviszstretchdlg.h:69
TypeSet< int >

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