OpendTect-6_4  6.4
uisurfaceman.h
Go to the documentation of this file.
1 #ifndef uisurfaceman_h
2 #define uisurfaceman_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: N. Hemstra
8  Date: April 2002
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiearthmodelmod.h"
15 #include "uiobjfileman.h"
16 #include "enums.h"
17 
18 class BufferStringSet;
19 
20 class uiButton;
21 class uiListBox;
22 class uiStratLevelSel;
23 class uiToolButton;
24 
25 mExpClass(uiEarthModel) uiSurfaceMan : public uiObjFileMan
27 public:
28 
29  enum Type { Hor2D, Hor3D, AnyHor, StickSet, Flt3D, Body, FltSet };
31 
33  ~uiSurfaceMan();
34 
36 
37 protected:
38 
39  const Type type_;
40 
42 
43  bool isCur2D() const;
44  bool isCurFault() const;
45 
55 
56  void attribSel(CallBacker*);
57  void copyCB(CallBacker*);
58  void man2dCB(CallBacker*);
59  void merge3dCB(CallBacker*);
60  void setRelations(CallBacker*);
61  void stratSel(CallBacker*);
62 
63  void mergeBodyCB(CallBacker*);
64  void createBodyRegionCB(CallBacker*);
65  void switchValCB(CallBacker*);
66  void calcVolCB(CallBacker*);
67 
68  void removeAttribCB(CallBacker*);
69  void renameAttribCB(CallBacker*);
70 
71  void mkFileInfo();
72  void fillAttribList();
73  od_int64 getFileSize(const char*,int&) const;
74  void setToolButtonProperties();
75  void ownSelChg();
76  void manFltSetCB(CallBacker*);
77 
78 private:
79  uiString sRenameSelData();
80  uiString sRemoveSelData();
81 };
82 
83 
84 #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
Type
Definition: uisurfaceman.h:29
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiToolButton * man2dbut_
Definition: uisurfaceman.h:46
#define od_int64
Definition: plftypes.h:36
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
uiListBox * attribfld_
Definition: uisurfaceman.h:41
uiToolButton * createregbodybut_
Definition: uisurfaceman.h:52
const Type type_
Definition: uisurfaceman.h:39
Definition: uistring.h:89
uiToolButton * mergehorbut_
Definition: uisurfaceman.h:50
Definition: uisurfaceman.h:25
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
uiToolButton * surfdatarenamebut_
Definition: uisurfaceman.h:47
#define mDeclInstanceCreatedNotifierAccess(clss)
Definition: callback.h:450
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
List Box.
Definition: uilistbox.h:75
Definition: uiobjfileman.h:26
int64_t getFileSize(const char *fnm, bool followlink=true)
bytes
FixedString Body()
Definition: keystrs.h:43
uiToolButton * switchvalbut_
Definition: uisurfaceman.h:54
uiToolButton * volestimatebut_
Definition: uisurfaceman.h:53
Definition: uitoolbutton.h:22
uiToolButton * applybodybut_
Definition: uisurfaceman.h:51
uiToolButton * surfdataremovebut_
Definition: uisurfaceman.h:48
uiToolButton * copybut_
Definition: uisurfaceman.h:49

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