OpendTect-6_4  6.4
uilatlong2coord.h
Go to the documentation of this file.
1 #ifndef uilatlong2coord_h
2 #define uilatlong2coord_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Mar 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiiomod.h"
15 #include "uidialog.h"
16 #include "uicoordsystem.h"
17 
18 class LatLong2Coord;
19 class uiLatLongInp;
20 
21 namespace Coords
22 {
23 
26 public:
30 
32 
33  virtual bool initFields(const CoordSystem*);
34 
35 protected:
36 
38 
39  bool acceptOK();
40 
41 };
42 
43 
46 public:
50 
52 
53  virtual bool initFields(const CoordSystem*);
54 
55 protected:
56 
59 
61 
62  bool acceptOK();
63 
64 };
65 
66 } // Namespace Coords
67 
70 public:
72  const SurveyInfo* si=0);
74 
75  const LatLong2Coord& ll2C() const { return ll2c_; }
76 
77  static bool ensureLatLongDefined(uiParent*,SurveyInfo* si=0);
78 
79 protected:
80 
82  const SurveyInfo* si_;
83 
86 
87  bool getLL2C();
88  void transfFile(CallBacker*);
89  bool acceptOK(CallBacker*);
90 
91 };
92 
93 
94 #endif
#define mExpClass(module)
Definition: commondefs.h:160
static const char * sFactoryKeyword()
Definition: coordsystem.h:106
uiLatLongInp * latlngfld_
Definition: uilatlong2coord.h:58
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiCheckBox * xyinftfld_
Definition: uilatlong2coord.h:60
static uiString sFactoryDisplayName()
Definition: coordsystem.h:106
static uiString sFactoryDisplayName()
Definition: coordsystem.h:139
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiGenInput * coordfld_
Definition: uilatlong2coord.h:57
static const char * sFactoryKeyword()
Definition: coordsystem.h:139
uiLatLongInp * latlngfld_
Definition: uilatlong2coord.h:85
#define mDefaultFactoryInstantiation1Param(baseclss, clss, parclss, keywrd, usernm)
Definition: factory.h:299
Definition: uiparent.h:26
Holds survey general information.
Definition: survinfo.h:45
Definition: coordsystem.h:31
LatLong2Coord & ll2c_
Definition: uilatlong2coord.h:81
Definition: uidialog.h:42
Definition: coordsystem.h:22
Definition: uilatlonginp.h:22
Definition: uilatlong2coord.h:24
General Input Element.
Definition: uigeninput.h:58
Definition: uilatlong2coord.h:44
Definition: uilatlong2coord.h:68
uiGenInput * coordfld_
Definition: uilatlong2coord.h:84
uiCheckBox * xyinftfld_
Definition: uilatlong2coord.h:37
const SurveyInfo * si_
Definition: uilatlong2coord.h:82
Definition: uibutton.h:134
Estimates to/from LatLong coordinates.
Definition: latlong.h:68
const LatLong2Coord & ll2C() const
Definition: uilatlong2coord.h:75
Definition: uicoordsystem.h:27

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