16 #include "earthmodelmod.h" 36 : RowColSurfaceGeometry(surf) {}
52 {
return const_cast<Horizon*
>(
this)
55 virtual float getZ(
const TrcKey&)
const = 0;
56 virtual bool setZ(
const TrcKey&,
float z,
bool addtohist) = 0;
57 virtual bool setZAndNodeSourceType(
const TrcKey&,
float z,
59 virtual bool hasZ(
const TrcKey&)
const = 0;
62 virtual float getZValue(
const Coord&,
bool allow_udf=
true,
64 virtual void setAttrib(
const TrcKey&,
int attr,
int yn,
bool undo) = 0;
65 virtual bool isAttrib(
const TrcKey&,
int attr)
const = 0;
68 { stratlevelid_ = lvlid; }
70 {
return stratlevelid_; }
88 : Surface(emm), stratlevelid_(-1) {}
#define mExpClass(module)
Definition: commondefs.h:160
virtual bool usePar(const IOPar &)
virtual void fillPar(IOPar &) const
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
int stratlevelid_
Definition: emhorizon.h:92
FixedString StratRef()
Definition: keystrs.h:124
Pos::SurvID SurvID
Definition: trckey.h:32
void setStratLevelID(int lvlid)
Definition: emhorizon.h:67
A cartesian coordinate in 2D space.
Definition: coord.h:25
bool get(const char *, int &) const
Horizon RowColSurfaceGeometry.
Definition: emhorizon.h:32
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Manages the loaded/half loaded EM objects in OpendTect.
Definition: emmanager.h:46
virtual void fillPar(IOPar &par) const
Definition: emhorizon.h:72
Horizon(EMManager &emm)
Definition: emhorizon.h:87
A cartesian coordinate in 3D space.
Definition: coord.h:72
virtual const HorizonGeometry & geometry() const
Definition: emhorizon.h:51
RowCol SurfaceGeometry.
Definition: emsurfacegeometry.h:124
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:33
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
NodeSourceType
Definition: emobject.h:163
virtual bool usePar(const IOPar &par)
Definition: emhorizon.h:78
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
int stratLevelID() const
Definition: emhorizon.h:69
void set(const char *ky, const char *val)
HorizonGeometry(Surface &surf)
Definition: emhorizon.h:35
IOObjContext * getIOObjContext(Seis::GeomType, bool forread)
Horizon Surface.
Definition: emhorizon.h:47
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62