OpendTect-6_4  6.4
uihorizonsortdlg.h
Go to the documentation of this file.
1 #ifndef uihorizonsortdlg_h
2 #define uihorizonsortdlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: January 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uiearthmodelmod.h"
17 #include "uidialog.h"
18 #include "trckeyzsampling.h"
19 #include "multiid.h"
20 
21 namespace EM { class Horizon; }
22 
23 class uiSurfaceSel;
24 
25 mExpClass(uiEarthModel) uiHorizonSortDlg : public uiDialog
27 public:
28 
29  uiHorizonSortDlg(uiParent*,bool is2d,
30  bool loadneeded=true);
32 
33  void setParConstraints(const IOPar&,
34  bool includeconstraints,
35  bool allowcnstrsabsent);
36  void getSortedHorizons(
37  ObjectSet<EM::Horizon>&) const;
38  void getSortedHorizonIDs(TypeSet<MultiID>&) const;
39  void setConstSelected(const TypeSet<MultiID>&);
40  TrcKeyZSampling getBoundingBox() const { return bbox_; }
41 
42 protected:
43 
44  bool acceptOK(CallBacker*);
45  void getSelectedHorizons(TypeSet<MultiID>&) const;
46  void updateRelationTree(const TypeSet<MultiID>&);
47  bool sortFromRelationTree(const TypeSet<MultiID>&);
48 
50 
51  bool is2d_;
57 
58 };
59 
60 #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
Definition: uisurfacesel.h:24
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
TrcKeyZSampling getBoundingBox() const
Definition: uihorizonsortdlg.h:40
Definition: uihorizonsortdlg.h:25
Definition: uiparent.h:26
bool loadneeded_
Definition: uihorizonsortdlg.h:52
Definition: uidialog.h:42
ObjectSet< EM::Horizon > horizons_
Definition: uihorizonsortdlg.h:55
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
TypeSet< MultiID > horids_
Definition: uihorizonsortdlg.h:56
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
TypeSet< MultiID > constselids_
Definition: uihorizonsortdlg.h:54
FixedString Horizon()
Definition: keystrs.h:72
uiSurfaceSel * horsel_
Definition: uihorizonsortdlg.h:49
TrcKeyZSampling bbox_
Definition: uihorizonsortdlg.h:53
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
bool is2d_
Definition: uihorizonsortdlg.h:51

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