14 #include "earthmodelmod.h" 24 class FaultStickSetGeometry;
35 bool addtohistory) {
return false; }
37 const Coord3& pos,
bool addtohistory)
40 bool addtohistory) {
return false; }
42 bool addtohistory) {
return false; }
53 bool addtohistory)
const;
55 virtual int nrSelectedSticks()
const;
56 virtual void selectAllSticks(
bool select=
true);
57 virtual void removeSelectedSticks(
bool addtohistory);
59 virtual void selectStickDoubles(
bool select=
true,
61 virtual void removeSelectedDoubles(
bool addtohistory,
63 virtual int nrStickDoubles(
const SectionID&,
int sticknr,
67 void selectSticks(
bool select=
true,
69 bool removeSelStick(
int selidx,
bool addtohistory,
73 : SurfaceGeometry(surf) {}
88 {
return const_cast<Fault*
>(
this)->geometry(); }
110 const Coord3& oldnormal );
111 const char* getStandardDesc()
const;
135 const char* getStandardDesc()
const;
od_int16 SectionID
Definition: emposid.h:23
#define mExpClass(module)
Definition: commondefs.h:157
virtual const DBKey * pickedDBKey(const SectionID &, int stcknr) const
Definition: emfault.h:46
FaultGeometry(Surface &surf)
Definition: emfault.h:72
Fault Surface base class.
Definition: emfault.h:82
Is an identifier for each position in the earthmodel.
Definition: emposid.h:35
virtual bool insertKnot(const SectionID &, const SubID &, const Coord3 &pos, bool addtohistory)
Definition: emfault.h:36
Coord3 normal_
Definition: emfault.h:141
virtual bool insertStick(const SectionID &, int sticknr, int firstcol, const Coord3 &pos, const Coord3 &editnormal, bool addtohistory)
Definition: emfault.h:33
virtual bool removeKnot(const SectionID &, const SubID &, bool addtohistory)
Definition: emfault.h:41
virtual const FaultGeometry & geometry() const
Definition: emfault.h:87
od_int64 SubID
Definition: emposid.h:24
virtual const char * pickedName(const SectionID &, int sticknr) const
Definition: emfault.h:48
virtual bool removeStick(const SectionID &, int sticknr, bool addtohistory)
Definition: emfault.h:39
3D point or vector
Definition: commontypes.h:57
Coord3 normal_
Definition: emfault.h:117
bool remove_
Definition: emfault.h:119
FaultStickSet geometry.
Definition: emfaultstickset.h:28
Manages the loaded/half loaded EM objects in OpendTect.
Definition: emmanager.h:42
Fault knot UndoEvent.
Definition: emfault.h:127
Surface geometry.
Definition: emsurfacegeometry.h:39
Holds the information on how to undo/redo something.
Definition: undo.h:104
FixedString Fault()
Definition: keystrs.h:64
Fault(EMManager &em)
Definition: emfault.h:91
bool remove_
Definition: emfault.h:143
FaultGeometry base class.
Definition: emfault.h:30
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:31
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
EM::PosID posid_
Definition: emfault.h:118
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Coord3 pos_
Definition: emfault.h:140
Fault stick UndoEvent.
Definition: emfault.h:102
IOObjContext * getIOObjContext(Seis::GeomType, bool forread)
EM::PosID posid_
Definition: emfault.h:142
Coord3 pos_
Definition: emfault.h:116
Holds the context for selecting and/or creating IOObjs.
Definition: ioobjctxt.h:59