OpendTect-6_4  6.4
ui2dgeomman.h
Go to the documentation of this file.
1 #ifndef ui2dgeomman_h
2 #define ui2dgeomman_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Satyaki Maitra
8  Date: September 2010
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiiomod.h"
15 #include "uiobjfileman.h"
16 
17 class uiGenInput;
18 class uiPushButton;
19 class uiTable;
20 namespace Survey { class Geometry2D; }
21 
28 public:
31 
32 protected:
33 
34  void manLineGeom(CallBacker*);
35  void lineRemoveCB(CallBacker*);
36  void ownSelChg();
37  void mkFileInfo();
38 };
39 
40 
41 
48 public:
50  bool readonly);
52 
53 protected:
54 
55  void impGeomCB(CallBacker*);
56  void setTrcSPNrCB(CallBacker*);
57  void fillTable(const Survey::Geometry2D&);
58  bool acceptOK(CallBacker*);
59 
62 
64  bool readonly_;
65 };
66 
67 
68 
81 { mODTextTranslationClass(Geom2DImpHandler)
82 public:
83 
84  static Pos::GeomID getGeomID(const char* nm,bool overwrpreok=false);
85  static bool getGeomIDs(const BufferStringSet& lnms,
86  TypeSet<Pos::GeomID>& geomids,
87  bool overwrpreok=false);
89 
90 protected:
91 
92  static void setGeomEmpty(Pos::GeomID);
93  static Pos::GeomID createNewGeom(const char*);
94  static bool confirmOverwrite(const char*);
95  static bool confirmOverwrite(const BufferStringSet&);
96 
97 };
98 
99 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Pos::GeomID geomid_
Definition: ui2dgeomman.h:63
This class has a set of static functions handling 2D geometries during seismic import routines that e...
Definition: ui2dgeomman.h:80
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
is the base class for all buttons.
Definition: uibutton.h:83
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiGenInput * rgfld_
Definition: ui2dgeomman.h:61
Geometry of a 2D Line.
Definition: survgeom2d.h:27
uiTable * table_
Definition: ui2dgeomman.h:60
Definition: uitable.h:30
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uidialog.h:42
Definition: uiobjfileman.h:26
Manage window for a single 2D Line geometry.
Definition: ui2dgeomman.h:46
General Input Element.
Definition: uigeninput.h:58
Index_Type GeomID
Definition: commontypes.h:52
bool readonly_
Definition: ui2dgeomman.h:64
Definition: survgeom.h:25
General manage window for 2D Line geometries.
Definition: ui2dgeomman.h:26

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