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

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