OpendTect-6_4  6.4
uimapperrangeeditordlg.h
Go to the documentation of this file.
1 
2 #ifndef uimapperrangeeditordlg_h
3 #define uimapperrangeeditordlg_h
4 
5 /*+
6 ________________________________________________________________________
7 
8  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
9  Author: Umesh Sinha
10  Date: Dec 2008
11  RCS: $Id$
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "uitoolsmod.h"
17 #include "uidialog.h"
18 
19 #include "datapack.h"
20 
21 class uiPushButton;
23 class uiStatsDisplay;
24 
25 namespace ColTab { class MapperSetup; class Sequence; }
26 
29 public:
31  int nr,DataPackMgr::ID dmid);
33 
34  uiMapperRangeEditor* getuiMapperRangeEditor(int);
35  void setDataPackID(int nr,DataPack::ID,
36  int version=0);
37  void setColTabMapperSetup(int,
38  const ColTab::MapperSetup&);
39  void setColTabSeq(int,
40  const ColTab::Sequence&);
41  void setActiveAttribID(int id);
43  { return activeattrbid_; }
45  { return *activectbmapper_; }
47  { return *activectbseq_; }
48 
51 
52 protected:
53 
62 
63  void mouseMoveCB(CallBacker*);
64  void rangeChanged(CallBacker*);
65  void sequenceChanged(CallBacker*);
66  void showStatDlg(CallBacker*);
67  void dataPackDeleted(CallBacker*);
68 };
69 
70 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< DataPack::ID > datapackids_
Definition: uimapperrangeeditordlg.h:60
Definition: uistatsdisplay.h:25
is the base class for all buttons.
Definition: uibutton.h:83
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
Notifier< uiMultiMapperRangeEditWin > sequenceChange
Definition: uimapperrangeeditordlg.h:50
int activeAttrbID()
Definition: uimapperrangeeditordlg.h:42
uiPushButton * statbut_
Definition: uimapperrangeeditordlg.h:54
int ID
Each Mgr has its own ID.
Definition: datapack.h:147
Definition: uimapperrangeeditordlg.h:27
Notifier< uiMultiMapperRangeEditWin > rangeChange
Definition: uimapperrangeeditordlg.h:49
const ColTab::MapperSetup * activectbmapper_
Definition: uimapperrangeeditordlg.h:57
ObjectSet< uiMapperRangeEditor > mapperrgeditors_
Definition: uimapperrangeeditordlg.h:55
Definition: uiparent.h:26
int ID
Definition: datapack.h:38
const ColTab::MapperSetup & activeMapperSetup()
Definition: uimapperrangeeditordlg.h:44
Definition: uidialog.h:42
Manages DataPacks.
Definition: datapack.h:141
const ColTab::Sequence * activectbseq_
Definition: uimapperrangeeditordlg.h:58
const ColTab::Sequence & activeSequence()
Definition: uimapperrangeeditordlg.h:46
Definition: uimapperrangeeditor.h:29
DataPackMgr & dpm_
Definition: uimapperrangeeditordlg.h:59
Setup class for colortable Mapper.
Definition: coltabmapper.h:35
Color Table
Definition: coltab.h:22
ObjectSet< uiStatsDisplay > statsdisplays_
Definition: uimapperrangeeditordlg.h:61
int activeattrbid_
Definition: uimapperrangeeditordlg.h:56

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