18 template <
class T>
class TypeSet;
32 Wavelet(
bool ricker_else_sinc,ValueType fpeak,
33 ValueType sample_intv=
mUdf(ValueType),
39 ZType,dpos_,cParChange())
41 IdxType,cidx_,cParChange())
42 size_type size() const;
43 inline
bool isEmpty()
const {
return size() < 1; }
44 bool validIdx(IdxType)
const;
46 ValueType getValue(ZType)
const;
48 ValueType* getSamples()
const;
49 void getSamples(ValueType*)
const;
51 void setSamples(
const ValueType*,size_type);
56 void reSize(size_type,ValueType val=0.f);
59 IdxType nearestSample(ZType)
const;
60 bool hasSymmetricalSamples()
const;
63 bool reSampleTime(ZType);
64 void ensureSymmetricalSamples();
67 void transform(ValueType b,ValueType a);
70 bool trimPaddedZeros();
71 ValueType getExtrValue(
bool ismax =
true)
const;
73 int getPos(ZType val,
bool closetocenteronly=
false)
const;
108 virtual ValueType*
arr();
109 virtual const ValueType*
arr()
const;
virtual ValueType * arr()
#define mExpClass(module)
Definition: commondefs.h:157
int size_type
Definition: wavelet.h:26
Seismics.
Definition: segydirectdef.h:20
float getValue(const float *p) const
Definition: wavelet.h:130
int ChangeType
Definition: monitorable.h:80
ValueSeries< ValueType > * clone() const
Definition: wavelet.h:111
short IdxType
Definition: seisblocksdata.h:39
IdxType cidx_
The index at pos == 0.
Definition: wavelet.h:85
#define od_int64
Definition: plftypes.h:34
Definition: sharedobject.h:18
size_type IdxType
Definition: wavelet.h:27
Mathematical function.
Definition: mathfunc.h:59
protects a Monitorable against change.
Definition: monitorable.h:252
virtual bool writable() const
Definition: wavelet.h:106
RefMan< Wavelet > wv_
Definition: wavelet.h:116
#define mDeclMonitorableAssignment(clss)
like mDeclAbstractMonitorableAssignment but for non-abstract subclasses. Implements the clone() metho...
Definition: monitor.h:111
#define mDeclInstanceCreatedNotifierAccess(clss)
Definition: notify.h:235
ConstRefMan< Wavelet > wv_
Definition: wavelet.h:134
Set of (small) copyable elements.
Definition: commontypes.h:26
#define mImplSimpleMonitoredGetSet(pfx, fnnmget, fnnmset, typ, memb, chgtyp)
Defines simple MT-safe copyable member access.
Definition: monitor.h:39
WaveletValueSeries(const Wavelet &)
static ChangeType cParChange()
Definition: wavelet.h:75
float ValueType
Definition: coltab.h:23
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
Interface to a series of values.
Definition: odmemory.h:15
Definition: valseriesinterpol.h:24
Interval with step.
Definition: commontypes.h:29
ZType dpos_
delta Z, sample interval
Definition: wavelet.h:84
static ChangeType cSampleChange()
Definition: wavelet.h:76
MonitorLock ml_
Definition: wavelet.h:135
virtual void setValue(od_int64 idx, ValueType)
virtual ValueType value(od_int64) const
bool isEmpty(const char *)
MonitorLock ml_
Definition: wavelet.h:117
float getValue(float z) const
Definition: wavelet.h:129
ValueType * samps_
Definition: wavelet.h:82
size_type sz_
Definition: wavelet.h:83
ValueSeriesInterpolator< ValueType > * intpol_
Definition: wavelet.h:87
float ValueType
Definition: wavelet.h:28
Definition: wavelet.h:124
float ZType
Definition: wavelet.h:29
void reSample(const FloatMathFunction &input, const A &samplevals, B &output, int nrsamples)
Definition: genericnumer.h:201