OpendTect-6_4  6.4
mpef3dflatvieweditor.h
Go to the documentation of this file.
1 
2 #ifndef mpef3dflatvieweditor_h
3 #define mpef3dflatvieweditor_h
4 
5 /*+
6 ________________________________________________________________________
7 
8  CopyRight: (C) dGB Beheer B.V.
9  Author: Umesh Sinha
10  Date: Mar 2010
11  RCS: $Id$
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "uimpemod.h"
17 #include "geometry.h"
19 
20 #include "emposid.h"
21 
22 class FlatPosData;
23 class IndexInfo;
24 class MouseEventHandler;
25 
26 namespace EM { class Fault3DPainter; }
27 namespace FlatView { class AuxDataEditor; }
28 
29 namespace MPE
30 {
31 
33 {
34 public:
36  const EM::ObjectID&);
38 
39  void setMouseEventHandler(MouseEventHandler*);
40  void updateActStkContainer();
41 
42  void setTrcKeyZSampling(const TrcKeyZSampling&);
43  void setPath(const TrcKeyPath&);
44  void setFlatPosData(const FlatPosData*);
45  void drawFault();
46  void enableLine(bool);
47  void enableKnots(bool);
48  void setRandomLineID(int rdlid);
49 
50 protected:
51 
52  void f3dRepaintATSCB(CallBacker*);
53  void f3dRepaintedCB(CallBacker*);
54 
55  void seedMovementStartedCB(CallBacker*);
56  void seedMovementFinishedCB(CallBacker*);
57  void removeSelectionCB(CallBacker*);
58 
59  void mouseMoveCB(CallBacker*);
60  void mousePressCB(CallBacker*);
61  void mouseReleaseCB(CallBacker*);
62  void doubleClickedCB(CallBacker*);
63  void sowingFinishedCB(CallBacker*);
64 
65  mStruct(uiMPE) StkMarkerIdInfo
66  {
67  int markerid_;
68  int stickid_;
69  };
70 
71  void cleanActStkContainer();
72  void fillActStkContainer();
73  int getStickId(int markerid) const;
74 
75  bool getMousePosInfo(
76  const Geom::Point2D<int>& mousepos,
77  IndexInfo& ix, IndexInfo& iy,
78  Coord3& worldpos) const;
79  Coord3 getScaleVector() const;
81 
82  const TrcKeyPath* path_;
83 
88  int rdlid_;
89 
95  Coord3 getNormal(const Coord3* mousepos=0) const;
96 };
97 
98 }; //namespace MPE
99 
100 #endif
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FlatView::AuxDataEditor * editor_
Definition: mpef3dflatvieweditor.h:90
Positioning of flat &#39;bulk&#39; data. Only the &#39;x1&#39; axis can be irregular.
Definition: flatposdata.h:26
#define mStruct(module)
Definition: commondefs.h:165
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
ObjectSet< StkMarkerIdInfo > markeridinfo_
Definition: mpef3dflatvieweditor.h:91
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
Info on (floating-point) position in an array or StepInterval.
Definition: indexinfo.h:23
bool doubleclicked_
Definition: mpef3dflatvieweditor.h:87
MouseEventHandler * meh_
Definition: mpef3dflatvieweditor.h:93
EM::PosID mousepid_
Definition: mpef3dflatvieweditor.h:94
bool seedhasmoved_
Definition: mpef3dflatvieweditor.h:85
int activestickid_
Definition: mpef3dflatvieweditor.h:92
bool makenewstick_
Definition: mpef3dflatvieweditor.h:86
uiMPEEngine & uiMPE()
Access function for an instance (and normally the only instance) of MPE::uiMPEEngine.
EM::Fault3DPainter * f3dpainter_
Definition: mpef3dflatvieweditor.h:84
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Definition: mouseevent.h:162
Editor for FlatView::AuxData. Allows the end-user to click-drag-release the points in data...
Definition: flatauxdataeditor.h:119
int rdlid_
Definition: mpef3dflatvieweditor.h:88
A cartesian coordinate in 3D space.
Definition: coord.h:72
const TrcKeyPath * path_
Definition: mpef3dflatvieweditor.h:82
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Definition: mpefssflatvieweditor.h:31
Definition: mpef3dflatvieweditor.h:32
Definition: bitmap2rgb.h:18
3D fault painter.
Definition: emfault3dpainter.h:37

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