OpendTect-6_4  6.4
uimpepreviewgrp.h
Go to the documentation of this file.
1 #ifndef uimpepreviewgrp_h
2 #define uimpepreviewgrp_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: April 2015
10  RCS: $Id: uihorizontracksetup.h 38749 2015-04-02 19:49:51Z nanne.hemstra@dgbes.com $
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uimpemod.h"
16 
17 #include "uigroup.h"
18 #include "position.h"
19 #include "trckeyvalue.h"
20 
21 class uiCheckList;
22 class uiFlatViewer;
23 
24 namespace FlatView { class AuxData; }
25 
26 
27 namespace MPE
28 {
29 
34 public:
36  ~uiPreviewGroup();
37 
38  void setSeedPos(const TrcKeyValue&);
39  void setDisplaySize(int nrtrcs,
40  const Interval<int>& zintv);
41  void setWindow(const Interval<int>&);
42  Interval<int> getManipWindow() const;
43 
45 
46 protected:
47 
48  void init();
49  void updateViewer();
50  void updateWindowLines();
51 
52  void wvavdChgCB(CallBacker*);
53 
54  void mousePressed(CallBacker*);
55  void mouseMoved(CallBacker*);
56  void mouseReleased(CallBacker*);
57  bool calcNewWindow();
58  bool mousedown_;
59 
62 
67 
69  int nrtrcs_;
73 
74 };
75 
76 } // namespace MPE
77 
78 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
Definition: trckeyvalue.h:27
Class that represents non-bitmap data to be displayed in a flatviewer, such as markers, lines and more.
Definition: flatview.h:34
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool mousedown_
Definition: uimpepreviewgrp.h:58
Notifier< uiPreviewGroup > windowChanged_
Definition: uimpepreviewgrp.h:44
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
Group of check boxes. Ensures a certain policy is honored.
Definition: uichecklist.h:34
bool init()
FlatView::AuxData * minline_
Definition: uimpepreviewgrp.h:65
Definition: uiparent.h:26
Interval< int > manipwinintv_
Definition: uimpepreviewgrp.h:72
FlatView::AuxData * seedline_
Definition: uimpepreviewgrp.h:64
uiCheckList * wvafld_
Definition: uimpepreviewgrp.h:60
Interval< int > winintv_
Definition: uimpepreviewgrp.h:71
Definition: callback.h:254
int nrtrcs_
Definition: uimpepreviewgrp.h:69
Interval< int > zintv_
Definition: uimpepreviewgrp.h:70
uiMPEEngine & uiMPE()
Access function for an instance (and normally the only instance) of MPE::uiMPEEngine.
FlatView::AuxData * seeditm_
Definition: uimpepreviewgrp.h:63
Viewer for previewing data around seed.
Definition: uimpepreviewgrp.h:32
uiFlatViewer * vwr_
Definition: uimpepreviewgrp.h:61
FlatView::AuxData * maxline_
Definition: uimpepreviewgrp.h:66
TrcKeyValue seedpos_
Definition: uimpepreviewgrp.h:68
Definition: bitmap2rgb.h:18
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:33

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