OpendTect  6.3
uiviscoltabed.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: Kristofer Tingdahl
8  Date: 24-01-2003
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "uivismod.h"
15 #include "uistring.h"
16 #include "coltabmappersetup.h"
17 
18 namespace visSurvey { class SurveyObject; }
19 namespace ColTab { class Sequence; }
20 class uiColTabToolBar;
21 class uiColTabSelTool;
22 
23 
24 //TODO: this class should go, or at least be demoted to monitoring
25 // and checking a few things.
26 
27 
30 public:
31 
33  ~uiVisColTabEd();
34 
35  bool isDisplayed() const;
36  void display(bool);
37 
38  void setColTab(const ColTab::Sequence&,
40  void setColTab(visSurvey::SurveyObject*,int ch);
41  const ColTab::Sequence& getColTabSequence() const;
42  const ColTab::Mapper& getColTabMapper() const;
43 
44  int getChannel() const { return channel_; }
45  const visSurvey::SurveyObject* getSurvObj() const { return survobj_; }
46 
47  NotifierAccess& seqChange();
48 
49  uiColTabSelTool& colTabSel() { return coltabsel_; }
50 
51  bool usePar(const IOPar&);
52  void fillPar(IOPar&);
53  void setDefaultColTab();
54 
55  static const char* sKeyColorSeq();
56  static const char* sKeyScaleFactor();
57  static const char* sKeyClipRate();
58  static const char* sKeyAutoScale();
59  static const char* sKeySymmetry();
60  static const char* sKeySymMidval();
61  void colseqChanged(CallBacker*);
62  void colorTabChgdCB(CallBacker*);
63  void clipperChanged(CallBacker*);
64 
66 
67 protected:
68 
69  void removeAllVisCB(CallBacker*);
70 
71 
73  int channel_;
75 
76 };
Notifier< uiVisColTabEd > isDisplayedChange
Definition: uiviscoltabed.h:65
#define mExpClass(module)
Definition: commondefs.h:157
int getChannel() const
Definition: uiviscoltabed.h:44
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Full Color Table = Sequence + Mapper Setup selection tool.
Definition: uicoltabsel.h:28
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
A series of color control points able to give an (interpolated) color for every position [0...
Definition: coltabsequence.h:37
Interface class for Notifier. See comments there.
Definition: notify.h:20
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
Definition: uiviscoltabed.h:28
Maps data values to color sequence positions: [0,1].
Definition: coltabmapper.h:33
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:18
uiColTabSelTool & coltabsel_
Definition: uiviscoltabed.h:72
Definition: uicoltabsel.h:93
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
uiColTabSelTool & colTabSel()
Definition: uiviscoltabed.h:49
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
Base class for all &#39;Display&#39; objects.
Definition: vissurvobj.h:54
Definition: coltab.h:20
int channel_
Definition: uiviscoltabed.h:73
visSurvey::SurveyObject * survobj_
Definition: uiviscoltabed.h:74
const visSurvey::SurveyObject * getSurvObj() const
Definition: uiviscoltabed.h:45

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