16 #include "earthmodelmod.h" 23 namespace Geometry {
class Horizon2DLine; }
24 namespace Table {
class FormatDesc; }
25 template <
class T>
class Array1D;
46 int lineIndex(
const char* linenm)
const;
47 const char* lineName(
int id)
const;
48 const char* lineSet(
int id)
const;
63 bool isAtEdge(
const PosID&)
const;
65 bool retundef=
false)
const;
75 static const char*
sKeyID() {
return "ID"; }
77 {
return "Trace Range of line "; }
78 static const char*
sKeyTrcRg() {
return "Trace range"; }
81 int getConnectedPos(
const PosID& posid,
93 bool mergewithdouble);
112 virtual float getZ(
const TrcKey&)
const;
113 virtual bool setZ(
const TrcKey&,
float z,
bool addtohist);
114 virtual bool setZAndNodeSourceType(
const TrcKey&,
float z,
116 virtual bool hasZ(
const TrcKey&)
const;
118 virtual void setAttrib(
const TrcKey&,
int attr,
int yn,
120 virtual bool isAttrib(
const TrcKey&,
int attr)
const;
122 virtual float getZValue(
const Coord&,
bool allow_udf=
true,
127 bool unSetPos(
const EM::PosID&,
bool addtohist);
138 virtual void setNodeSourceType(
const TrcKey&,
140 virtual bool isNodeSourceType(
const PosID&,
142 virtual bool isNodeSourceType(
const TrcKey&,
146 int trcnr,
float z,
bool addtohist);
151 const Coord3&,
bool addtohist);
163 bool onlyfillundefs);
166 bool onlyfillundefs );
179 void initNodeSourceArray(
const TrcKey&);
Array1D ( Subclass of ArrayND ) is a one dimensional array.
Definition: arraynd.h:101
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
static const char * sKeyNrLines()
Definition: emhorizon2d.h:79
Horizon2DGeometry & geometry()
Definition: emhorizon2d.h:153
static const char * sKeyID()
Definition: emhorizon2d.h:75
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Array1D< char > * nodesource_
Definition: emhorizon2d.h:182
Pos::SurvID SurvID
Definition: trckey.h:32
Definition: horizon2dline.h:30
Definition: uistring.h:89
A cartesian coordinate in 2D space.
Definition: coord.h:25
static const char * sKeyTraceRange()
Definition: emhorizon2d.h:76
static const char * sKeyLineIDs()
Definition: emhorizon2d.h:72
static const char * sKeyTrcRg()
Definition: emhorizon2d.h:78
od_int64 SubID
Definition: emposid.h:26
Horizon RowColSurfaceGeometry.
Definition: emhorizon.h:32
TypeSet< Pos::GeomID > geomids_
Definition: emhorizon2d.h:98
2D Horizon. The Horizon is only present along 2d lines, set by addLine. Each position's subid is form...
Definition: emhorizon2d.h:108
#define mDefineEMObjFuncs(clss)
Definition: emobject.h:373
static const char * sKeyLineNames()
Definition: emhorizon2d.h:73
Set of (small) copyable elements.
Definition: commontypes.h:30
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: geom2dascio.h:21
Class that can execute a task.
Definition: task.h:169
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
static uiString userTypeStr()
Definition: emhorizon2d.h:174
A cartesian coordinate in 3D space.
Definition: coord.h:72
Index_Type GeomID
Definition: commontypes.h:52
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:33
uiString getUserTypeStr() const
Definition: emhorizon2d.h:173
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
NodeSourceType
Definition: emobject.h:163
2D HorizonGeometry
Definition: emhorizon2d.h:35
const Horizon2DGeometry & geometry() const
Definition: emhorizon2d.h:154
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
static const char * sKeyLineSets()
Definition: emhorizon2d.h:74
Definition: arraytesselator.h:21
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
Horizon2DGeometry geometry_
Definition: emhorizon2d.h:181