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

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