14 #include "velocitymod.h" 30 namespace EM {
class Horizon3D; }
40 Pick(
float depth=
mUdf(
float),
41 float vel=
mUdf(
float),
64 void setPickType(
PickType,
bool resetcolor );
65 const char* zDomain()
const;
67 bool setColor(
const Color&,
bool savedefault);
70 bool getDefaultColor(
Color&)
const;
75 void removeAll(
bool undo=
true,
bool interactionend=
true);
83 bool undo=
true,
bool interactionend=
true);
85 const Pick&,
bool undo=
true,
86 bool interactionend=
true);
91 bool interpolatehors )
const;
95 bool normalizerefoffset )
const;
97 bool get(
const RowCol&, BinID&, Pick& );
99 void remove(
const RowCol&,
100 bool undo=
true,
bool interactionend=
true);
108 bool isChanged()
const;
111 bool store(
const IOObj*);
114 const DBKey& storageID()
const;
123 static const char* sKeyIsTime();
125 void setAll(
float vel,
bool undo=
true);
131 void setReferenceOffset(
float n);
133 const DBKey& gatherID()
const;
134 void setGatherID(
const DBKey&);
137 void addHorizon(
const DBKey&,
138 bool addzeroonfail=
false);
140 int nrHorizons()
const;
142 EM::ObjectID getHorizonID(
int)
const;
143 void removeHorizon(EM::ObjectID);
146 bool interpolateVelocity(EM::ObjectID,
151 char getHorizonStatus(
const BinID&)
const;
157 static const char* sKeyVelocityPicks();
158 static const char* sKeyRefOffset();
159 static const char* sKeyGatherID();
160 static const char* sKeyNrHorizons();
161 static const char* sKeyHorizonPrefix();
162 static const char* sKeyPickType();
167 void removeHorizons();
169 void fillIOObjPar(
IOPar&)
const;
170 bool useIOObjPar(
const IOPar&);
171 float normalizeRMO(
float depth,
float rmo,
179 void horizonChangeCB(CallBacker*);
183 bool load(
const IOObj*);
210 bool create,
bool forcefromstorage );
216 void surveyChange(CallBacker*);
Color color_
Definition: velocitypicks.h:195
#define mExpClass(module)
Definition: commondefs.h:157
od_int32 ObjectID
Definition: emposid.h:22
Velocity.
Definition: velocityfunction.h:30
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Definition: multidimstorage.h:23
uiString errmsg_
Definition: velocitypicks.h:190
Definition: velocitypicks.h:54
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
PickType
Definition: velocitypicks.h:61
#define mGlobal(module)
Definition: commondefs.h:160
const MultiDimStorage< Pick > & getAll() const
Definition: velocitypicks.h:102
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
bool zIsTime() const
Definition: velocitypicks.h:115
float depth_
Definition: velocitypicks.h:45
Undo * undo_
Definition: velocitypicks.h:188
ObjectSet< EM::Horizon3D > horizons_
Definition: velocitypicks.h:192
Definition: uistring.h:88
uiString errmsg_
Definition: velocitypicks.h:218
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:188
Definition: velocitypicks.h:203
Class to handle undo/redo information.
Definition: undo.h:40
const StepInterval< float > & getSnappingInterval() const
Definition: velocitypicks.h:80
MultiDimStorage< Pick > picks_
Definition: velocitypicks.h:186
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
EM::ObjectID emobjid_
Definition: velocitypicks.h:48
Smoother1D< float > * getSmoother()
Definition: velocitypicks.h:117
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
const Color & getColor() const
Definition: velocitypicks.h:69
float vel_
Definition: velocitypicks.h:47
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
Smoothes a 1d signal with an operator.
Definition: smoother1d.h:26
const T * find(const ObjectSet< T > &os, const S &val)
Get const object in set.
Definition: objectset.h:187
IdxPair used for its row() and col().
Definition: rowcol.h:23
DBKey storageid_
Definition: velocitypicks.h:185
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
bool isEmpty(const char *)
static uiHor3DInterpol * create(uiParent *)
void resetChangedFlag()
Definition: velocitypicks.h:109
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
const Smoother1D< float > * getSmoother() const
Definition: velocitypicks.h:118
Definition: velocitypicks.h:61
DBKey gatherid_
Definition: velocitypicks.h:182
StepInterval< float > snapper_
Definition: velocitypicks.h:184
float refoffset_
Definition: velocitypicks.h:181
Definition: picklocation.h:19
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:21
Notifier with automatic capsule creation.
Definition: notify.h:166
Smoother1D< float > * smoother_
Definition: velocitypicks.h:191
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:24
bool zit_
Definition: velocitypicks.h:198
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
const char * errMsg() const
Definition: horizontracker.h:59
3D Horizon. A Horizon is made up of one or more grids (so they can overlap at faults). The grids are defined by knot-points in a matrix and fillstyle in between the knots.
Definition: emhorizon3d.h:94
CNotifier< Picks, const BinID & > change
Definition: velocitypicks.h:104
bool changed_
Definition: velocitypicks.h:197
float refOffset() const
Definition: velocitypicks.h:130
CNotifier< Picks, const BinID & > changelate
Definition: velocitypicks.h:105
PickType picktype_
Definition: velocitypicks.h:194
float offset_
Definition: velocitypicks.h:46
ObjectSet< Picks > velpicks_
Definition: velocitypicks.h:219
Holds the context for selecting and/or creating IOObjs.
Definition: ioobjctxt.h:59