OpendTect-6_4  6.4
uiviscoltabed.h
Go to the documentation of this file.
1 #ifndef uiviscoltabed_h
2 #define uiviscoltabed_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: 24-01-2003
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uivismod.h"
17 #include "uidialog.h"
18 #include "uistring.h"
19 
20 namespace visSurvey { class SurveyObject; }
21 namespace ColTab { class Sequence; class MapperSetup; }
22 class uiColorTable;
23 
24 
27 public:
29  ~uiVisColTabEd();
30 
31  void setColTab(const ColTab::Sequence*,
32  bool editseq,
33  const ColTab::MapperSetup*,
34  bool edittrans);
35  void setColTab(visSurvey::SurveyObject*,int ch,
36  int version);
37  const ColTab::Sequence& getColTabSequence() const;
38  const ColTab::MapperSetup& getColTabMapperSetup() const;
39 
40  int getChannel() const { return channel_; }
41  const visSurvey::SurveyObject* getSurvObj() const { return survobj_; }
42 
43  NotifierAccess& seqChange();
44  NotifierAccess& mapperChange();
45 
46  void setHistogram(const TypeSet<float>*);
47  uiColorTable& colTab() { return uicoltab_; }
48 
49  bool usePar(const IOPar&);
50  void fillPar(IOPar&);
51  void setDefaultColTab();
52 
53  static const char* sKeyColorSeq();
54  static const char* sKeyScaleFactor();
55  static const char* sKeyClipRate();
56  static const char* sKeyAutoScale();
57  static const char* sKeySymmetry();
58  static const char* sKeySymMidval();
59  void colseqChanged(CallBacker*);
60  void colorTabChgdCB(CallBacker*);
61  void clipperChanged(CallBacker*);
62 
63 protected:
64 
65  void mapperChangeCB(CallBacker*);
66  void removeAllVisCB(CallBacker*);
67 
68 
70  int channel_;
71  int version_;
73 };
74 
75 
78 public:
80  const uiString& title);
81 
82  uiVisColTabEd& editor() { return *coltabed_; }
83 
85 
86 protected:
87  bool closeOK();
89 };
90 
91 
92 #endif
#define mExpClass(module)
Definition: commondefs.h:160
int getChannel() const
Definition: uiviscoltabed.h:40
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiVisColTabEd * coltabed_
Definition: uiviscoltabed.h:88
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
Interface class for Notifier. See comments there.
Definition: callback.h:161
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Notifier< uiColorBarDialog > winClosing
Definition: uiviscoltabed.h:84
Definition: uiviscoltabed.h:25
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
Definition: uidialog.h:42
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
int version_
Definition: uiviscoltabed.h:71
Setup class for colortable Mapper.
Definition: coltabmapper.h:35
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
void setHistogram(const TypeSet< float > *)
Definition: uicolortable.h:46
uiParent const uiString & title
pops a selector box to select a new font
Definition: uifont.h:27
uiVisColTabEd & editor()
Definition: uiviscoltabed.h:82
Base class for all &#39;Display&#39; objects.
Definition: vissurvobj.h:58
Color Table
Definition: coltab.h:22
uiColorTable & colTab()
Definition: uiviscoltabed.h:47
Definition: uiviscoltabed.h:76
int channel_
Definition: uiviscoltabed.h:70
visSurvey::SurveyObject * survobj_
Definition: uiviscoltabed.h:72
const visSurvey::SurveyObject * getSurvObj() const
Definition: uiviscoltabed.h:41
uiColorTable & uicoltab_
Definition: uiviscoltabed.h:69

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