OpendTect  6.3
view2dpickset.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  CopyRight: (C) dGB Beheer B.V.
7  Author: Ranojay Sen
8  Date: Mar 2011
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiviewer2dmod.h"
14 #include "flatview.h"
15 #include "flatauxdataeditor.h"
16 #include "trckeyzsampling.h"
17 #include "view2ddata.h"
18 #include "pickset.h"
19 
20 class uiFlatViewer;
22 
23 
24 mExpClass(uiViewer2D) VW2DPickSet : public Vw2DDataObject
25 {
26 public:
27 
28  static VW2DPickSet* create(int id,uiFlatViewWin* win,
31  ~VW2DPickSet();
32 
33  void draw();
34  void clearPicks();
35  void enablePainting(bool yn);
36  void selected();
37  DBKey pickSetID() const;
38  void setPickSet(Pick::Set*);
39 
40  bool fillPar(IOPar&) const;
41  bool usePar(const IOPar&);
42 
43 protected:
44 
45  void pickAddChgCB(CallBacker*);
46  void pickRemoveCB(CallBacker*);
47  void dataChangedCB(CallBacker*);
48  OD::MarkerStyle2D get2DMarkers(const Pick::Set& ps) const;
49  void triggerDeSel();
50 
55 
59 
60 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
ObjectSet< FlatView::AuxData > picks_
Definition: view2dpickset.h:56
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
ObjectSet< uiFlatViewAuxDataEditor > editors_
Definition: view2dpickset.h:57
Definition: view2dpickset.h:24
Monitorable set of pick locations.
Definition: pickset.h:41
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Definition: draw.h:63
Definition: view2ddata.h:20
static VW2DPickSet * create(int id, uiFlatViewWin *win, const ObjectSet< uiFlatViewAuxDataEditor > &ed)
Definition: view2dpickset.h:28
ObjectSet< uiFlatViewer > viewers_
Definition: view2dpickset.h:58
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
RefMan< Pick::Set > pickset_
Definition: view2dpickset.h:51
bool isselected_
Definition: view2dpickset.h:52
TypeSet< int > auxids_
Definition: view2dpickset.h:54
Notifier< VW2DPickSet > deselected_
Definition: view2dpickset.h:53
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Flatview auxiliary data editor.
Definition: uiflatauxdataeditor.h:21
Base class for windows containing one or more uiFlatViewer(s).
Definition: uiflatviewwin.h:29
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:31
#define mCreateVw2DDataObj(clss, oid, win, ed)
Definition: view2ddata.h:98

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