OpendTect-6_4  6.4
view2dpickset.h
Go to the documentation of this file.
1 #ifndef view2dpickset_h
2 #define view2dpickset_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  CopyRight: (C) dGB Beheer B.V.
8  Author: Ranojay Sen
9  Date: Mar 2011
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiviewer2dmod.h"
16 #include "flatview.h"
17 #include "flatauxdataeditor.h"
18 #include "trckeyzsampling.h"
19 #include "view2ddata.h"
20 
21 class uiFlatViewer;
23 namespace Pick { class Set; }
24 
25 
26 mExpClass(uiViewer2D) VW2DPickSet : public Vw2DDataObject
27 {
28 public:
29  static VW2DPickSet* create(int id,uiFlatViewWin* win,
32  ~VW2DPickSet();
33 
34  void drawAll();
35  void clearPicks();
36  void enablePainting(bool yn);
37  void selected();
38  const MultiID pickSetID() const;
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  MarkerStyle2D get2DMarkers(const Pick::Set& ps) const;
49  void triggerDeSel();
50  mDeprecated void updateSetIdx(const TrcKeyZSampling&);
51  mDeprecated void updateSetIdx(const TrcKeyPath&);
52 
56  bool isownremove_; //deprecated
57  TypeSet<int> picksetidxs_; //deprecated
59 
63 };
64 
65 #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
Pick::Set * pickset_
Definition: view2dpickset.h:53
ObjectSet< FlatView::AuxData > picks_
Definition: view2dpickset.h:60
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: draw.h:60
ObjectSet< uiFlatViewAuxDataEditor > editors_
Definition: view2dpickset.h:61
Definition: view2dpickset.h:26
bool isownremove_
Definition: view2dpickset.h:56
Set of picks with something in common.
Definition: pickset.h:31
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
TypeSet< int > picksetidxs_
Definition: view2dpickset.h:57
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Definition: view2ddata.h:24
static VW2DPickSet * create(int id, uiFlatViewWin *win, const ObjectSet< uiFlatViewAuxDataEditor > &ed)
Definition: view2dpickset.h:29
ObjectSet< uiFlatViewer > viewers_
Definition: view2dpickset.h:62
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
#define mDeprecated
Definition: plfdefs.h:233
bool isselected_
Definition: view2dpickset.h:54
Definition: picklocation.h:21
TypeSet< int > auxids_
Definition: view2dpickset.h:58
Notifier< VW2DPickSet > deselected_
Definition: view2dpickset.h:55
Flatview auxiliary data editor.
Definition: uiflatauxdataeditor.h:23
Base class for windows containing one or more uiFlatViewer(s).
Definition: uiflatviewwin.h:31
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:33
Compound key consisting of ints.
Definition: multiid.h:25
#define mCreateVw2DDataObj(clss, oid, win, ed)
Definition: view2ddata.h:98

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