OpendTect  6.6
ui2dgeomman.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Satyaki Maitra
7  Date: September 2010
8  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiiomod.h"
14 #include "uiobjfileman.h"
15 
16 class uiGenInput;
17 class uiPushButton;
18 class uiTable;
19 namespace Survey { class Geometry2D; }
20 
27 public:
30 
31 protected:
32 
35  void ownSelChg();
36  void mkFileInfo();
37 };
38 
39 
40 
47 public:
49  const TypeSet<Pos::GeomID>&,bool readonly);
51 
52 protected:
53 
60 
65 
66  Pos::GeomID geomid_; // not used
67  bool readonly_;
68 };
69 
70 
71 
85 public:
86 
87  static Pos::GeomID getGeomID(const char* nm,bool overwrpreok=false);
88  static bool getGeomIDs(const BufferStringSet& lnms,
89  TypeSet<Pos::GeomID>& geomids,
90  bool overwrpreok=false);
92 
93 protected:
94 
95  static void setGeomEmpty(Pos::GeomID);
96  static Pos::GeomID createNewGeom(const char*);
97  static bool confirmOverwrite(const char*);
98  static bool confirmOverwrite(const BufferStringSet&);
99 
100 };
101 
uiManageLineGeomDlg::geomidset_
TypeSet< Pos::GeomID > geomidset_
Definition: ui2dgeomman.h:64
uiObjFileMan
Definition: uiobjfileman.h:26
ui2DGeomManageDlg
General manage window for 2D Line geometries.
Definition: ui2dgeomman.h:26
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
ui2DGeomManageDlg::mkFileInfo
void mkFileInfo()
Geom2DImpHandler::getGeomIDs
static mODTextTranslationClass(Geom2DImpHandler) public bool getGeomIDs(const BufferStringSet &lnms, TypeSet< Pos::GeomID > &geomids, bool overwrpreok=false)
Use while importing several lines in one go.
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiManageLineGeomDlg::impGeomCB
void impGeomCB(CallBacker *)
uiManageLineGeomDlg::table_
uiTable * table_
Definition: ui2dgeomman.h:61
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
ui2DGeomManageDlg::manLineGeom
void manLineGeom(CallBacker *)
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiManageLineGeomDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiManageLineGeomDlg::readonly_
bool readonly_
Definition: ui2dgeomman.h:67
ui2DGeomManageDlg::lineRemoveCB
void lineRemoveCB(CallBacker *)
uiManageLineGeomDlg::fillTable
void fillTable(const Survey::Geometry2D &)
uiManageLineGeomDlg
Manage window for a single 2D Line geometry.
Definition: ui2dgeomman.h:46
Geom2DImpHandler::createNewGeom
static Pos::GeomID createNewGeom(const char *)
Geom2DImpHandler::confirmOverwrite
static bool confirmOverwrite(const BufferStringSet &)
uiManageLineGeomDlg::setTrcSPNrCB
void setTrcSPNrCB(CallBacker *)
uiManageLineGeomDlg::geomid_
Pos::GeomID geomid_
Definition: ui2dgeomman.h:66
Geom2DImpHandler
This class has a set of static functions handling 2D geometries during seismic import routines that e...
Definition: ui2dgeomman.h:84
Survey
Definition: surveydisklocation.h:18
uiobjfileman.h
Geom2DImpHandler::setGeomEmpty
static void setGeomEmpty(Pos::GeomID)
uiManageLineGeomDlg::rgfld_
uiGenInput * rgfld_
Definition: ui2dgeomman.h:62
ui2DGeomManageDlg::ownSelChg
void ownSelChg()
uiManageLineGeomDlg::expGeomCB
void expGeomCB(CallBacker *)
Geom2DImpHandler::confirmOverwrite
static bool confirmOverwrite(const char *)
uiManageLineGeomDlg::lineSel
void lineSel(CallBacker *)
uiTable
Definition: uitable.h:31
Survey::Geometry2D
Geometry of a 2D Line.
Definition: survgeom2d.h:27
uiManageLineGeomDlg::linefld_
uiGenInput * linefld_
Definition: ui2dgeomman.h:63
uiParent
Definition: uiparent.h:26
uiManageLineGeomDlg::~uiManageLineGeomDlg
mODTextTranslationClass(uiManageLineGeomDlg) public ~uiManageLineGeomDlg()
uiDialog
Definition: uidialog.h:42
ui2DGeomManageDlg::~ui2DGeomManageDlg
mODTextTranslationClass(ui2DGeomManageDlg) public ~ui2DGeomManageDlg()
Pos::GeomID
Index_Type GeomID
Definition: commontypes.h:87
TypeSet< Pos::GeomID >
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88

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