OpendTect  6.3
uihorizonsortdlg.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: N. Hemstra
8  Date: January 2006
9 ________________________________________________________________________
10 
11 -*/
12 
13 
14 #include "uiearthmodelmod.h"
15 #include "uidialog.h"
16 #include "trckeyzsampling.h"
17 #include "dbkey.h"
18 
19 namespace EM { class Horizon; }
20 
21 class uiSurfaceSel;
22 
23 mExpClass(uiEarthModel) uiHorizonSortDlg : public uiDialog
25 public:
26 
27  uiHorizonSortDlg(uiParent*,bool is2d,
28  bool loadneeded=true);
30 
31  void setParConstraints(const IOPar&,
32  bool includeconstraints,
33  bool allowcnstrsabsent);
34  void getSortedHorizons(
35  ObjectSet<EM::Horizon>&) const;
36  void getSortedHorizonIDs(DBKeySet&) const;
37  void setConstSelected(const DBKeySet&);
38  TrcKeyZSampling getBoundingBox() const { return bbox_; }
39 
40 protected:
41 
42  bool acceptOK();
43  void getSelectedHorizons(DBKeySet&) const;
44  void updateRelationTree(const DBKeySet&);
45  bool sortFromRelationTree(const DBKeySet&);
46 
48 
49  bool is2d_;
55 
56 };
#define mExpClass(module)
Definition: commondefs.h:157
Definition: uisurfacesel.h:22
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
TrcKeyZSampling getBoundingBox() const
Definition: uihorizonsortdlg.h:38
Definition: uihorizonsortdlg.h:23
Definition: dbkey.h:98
Definition: uiparent.h:24
bool loadneeded_
Definition: uihorizonsortdlg.h:50
Definition: uidialog.h:40
ObjectSet< EM::Horizon > horizons_
Definition: uihorizonsortdlg.h:53
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
FixedString Horizon()
Definition: keystrs.h:70
uiSurfaceSel * horsel_
Definition: uihorizonsortdlg.h:47
TrcKeyZSampling bbox_
Definition: uihorizonsortdlg.h:51
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
DBKeySet constselids_
Definition: uihorizonsortdlg.h:52
bool is2d_
Definition: uihorizonsortdlg.h:49
DBKeySet horids_
Definition: uihorizonsortdlg.h:54

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