OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uimpemod.h"
15 #include "geometry.h"
17 
18 #include "emposid.h"
19 
20 class FlatPosData;
21 class IndexInfo;
22 class MouseEventHandler;
23 
24 namespace EM { class Fault3DPainter; }
25 namespace FlatView { class AuxDataEditor; }
26 
27 namespace MPE
28 {
29 
31 {
32 public:
34  const EM::ObjectID&);
36 
39 
41  void setPath(const TrcKeyPath&);
43  void drawFault();
44  void enableLine(bool);
45  void enableKnots(bool);
46  void setRandomLineID(int rdlid);
47 
48 protected:
49 
52 
56 
62 
63  mStruct(uiMPE) StkMarkerIdInfo
64  {
65  int markerid_;
66  int stickid_;
67  };
68 
71  int getStickId(int markerid) const;
72 
74  const Geom::Point2D<int>& mousepos,
75  IndexInfo& ix, IndexInfo& iy,
76  Coord3& worldpos) const;
79 
80  const TrcKeyPath* path_;
81 
86  int rdlid_;
87 
93  Coord3 getNormal(const Coord3* mousepos=0) const;
94 };
95 
96 }; //namespace MPE
97 
MPE::Fault3DFlatViewEditor::getScaleVector
Coord3 getScaleVector() const
x'=x, y'=v1*x*+v2*y, z'=v3*z
MPE::Fault3DFlatViewEditor::getMousePosInfo
bool getMousePosInfo(const Geom::Point2D< int > &mousepos, IndexInfo &ix, IndexInfo &iy, Coord3 &worldpos) const
Coord3
A cartesian coordinate in 3D space.
Definition: coord.h:72
emposid.h
MPE::Fault3DFlatViewEditor
Definition: mpef3dflatvieweditor.h:31
MPE::Fault3DFlatViewEditor::sowingFinishedCB
void sowingFinishedCB(CallBacker *)
geometry.h
MPE::Fault3DFlatViewEditor::doubleClickedCB
void doubleClickedCB(CallBacker *)
ObjectSet< StkMarkerIdInfo >
MPE::Fault3DFlatViewEditor::f3dRepaintATSCB
void f3dRepaintATSCB(CallBacker *)
MPE::Fault3DFlatViewEditor::mouseReleaseCB
void mouseReleaseCB(CallBacker *)
MPE::Fault3DFlatViewEditor::drawFault
void drawFault()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
MPE::uiMPE
uiMPEEngine & uiMPE()
Access function for an instance (and normally the only instance) of MPE::uiMPEEngine.
IndexInfo
Info on (floating-point) position in an array or StepInterval.
Definition: indexinfo.h:23
MPE::Fault3DFlatViewEditor::mouseMoveCB
void mouseMoveCB(CallBacker *)
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
EM::Fault3DPainter
3D fault painter.
Definition: emfault3dpainter.h:37
MPE::Fault3DFlatViewEditor::seedMovementFinishedCB
void seedMovementFinishedCB(CallBacker *)
MPE::Fault3DFlatViewEditor::setPath
void setPath(const TrcKeyPath &)
MPE::Fault3DFlatViewEditor::enableLine
void enableLine(bool)
EM
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: bulk2dhorizonscanner.h:26
TrcKeyZSampling
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
MPE::Fault3DFlatViewEditor::rdlid_
int rdlid_
Definition: mpef3dflatvieweditor.h:86
FlatView
Definition: bitmap2rgb.h:17
MPE::Fault3DFlatViewEditor::path_
const TrcKeyPath * path_
Definition: mpef3dflatvieweditor.h:80
MPE
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
FlatPosData
Positioning of flat 'bulk' data. Only the 'x1' axis can be irregular.
Definition: flatposdata.h:26
MPE::Fault3DFlatViewEditor::mousePressCB
void mousePressCB(CallBacker *)
MPE::Fault3DFlatViewEditor::updateActStkContainer
void updateActStkContainer()
MPE::Fault3DFlatViewEditor::seedMovementStartedCB
void seedMovementStartedCB(CallBacker *)
MPE::Fault3DFlatViewEditor::getNormal
Coord3 getNormal(const Coord3 *mousepos=0) const
MPE::Fault3DFlatViewEditor::cleanActStkContainer
void cleanActStkContainer()
MPE::Fault3DFlatViewEditor::fillActStkContainer
void fillActStkContainer()
mStruct
#define mStruct(module)
Definition: commondefs.h:182
FlatView::AuxDataEditor
Editor for FlatView::AuxData. Allows the end-user to click-drag-release the points in data....
Definition: flatauxdataeditor.h:119
MPE::Fault3DFlatViewEditor::Fault3DFlatViewEditor
Fault3DFlatViewEditor(FlatView::AuxDataEditor *, const EM::ObjectID &)
MPE::Fault3DFlatViewEditor::doubleclicked_
bool doubleclicked_
Definition: mpef3dflatvieweditor.h:85
MPE::Fault3DFlatViewEditor::~Fault3DFlatViewEditor
~Fault3DFlatViewEditor()
MPE::Fault3DFlatViewEditor::seedhasmoved_
bool seedhasmoved_
Definition: mpef3dflatvieweditor.h:83
MPE::Fault3DFlatViewEditor::setTrcKeyZSampling
void setTrcKeyZSampling(const TrcKeyZSampling &)
MPE::Fault3DFlatViewEditor::makenewstick_
bool makenewstick_
Definition: mpef3dflatvieweditor.h:84
MouseEventHandler
Definition: mouseevent.h:189
MPE::Fault3DFlatViewEditor::setFlatPosData
void setFlatPosData(const FlatPosData *)
MPE::Fault3DFlatViewEditor::setMouseEventHandler
void setMouseEventHandler(MouseEventHandler *)
MPE::Fault3DFlatViewEditor::getStickId
int getStickId(int markerid) const
Geom::Point2D< int >
EM::ObjectID
od_int32 ObjectID
Definition: emposid.h:23
MPE::Fault3DFlatViewEditor::setRandomLineID
void setRandomLineID(int rdlid)
MPE::Fault3DFlatViewEditor::activestickid_
int activestickid_
Definition: mpef3dflatvieweditor.h:90
MPE::Fault3DFlatViewEditor::f3dRepaintedCB
void f3dRepaintedCB(CallBacker *)
MPE::Fault3DFlatViewEditor::editor_
FlatView::AuxDataEditor * editor_
Definition: mpef3dflatvieweditor.h:88
emfaultsticksetflatvieweditor.h
EM::FaultStickSetFlatViewEditor
Fault stick set flat view editor.
Definition: emfaultsticksetflatvieweditor.h:30
MPE::Fault3DFlatViewEditor::f3dpainter_
EM::Fault3DPainter * f3dpainter_
Definition: mpef3dflatvieweditor.h:82
MPE::Fault3DFlatViewEditor::meh_
MouseEventHandler * meh_
Definition: mpef3dflatvieweditor.h:91
MPE::Fault3DFlatViewEditor::mousepid_
EM::PosID mousepid_
Definition: mpef3dflatvieweditor.h:92
MPE::Fault3DFlatViewEditor::markeridinfo_
ObjectSet< StkMarkerIdInfo > markeridinfo_
Definition: mpef3dflatvieweditor.h:89
MPE::Fault3DFlatViewEditor::removeSelectionCB
void removeSelectionCB(CallBacker *)
MPE::Fault3DFlatViewEditor::enableKnots
void enableKnots(bool)
EM::PosID
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
TypeSet< TrcKey >

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