1 #ifndef velocityfunction_h 2 #define velocityfunction_h 16 #include "velocitymod.h" 27 namespace Attrib {
class DataHolder; };
46 void unRefNoDelete()
const;
53 float getVelocity(
float z)
const;
54 const BinID& getBinID()
const;
55 virtual bool moveTo(
const BinID&);
57 virtual void removeCache();
66 virtual bool computeVelocity(
float z0,
float dz,
int nr,
67 float* res )
const = 0;
93 virtual void getSurroundingPositions(
const BinID&,
108 const char*
errMsg()
const;
113 void refFunction(
const Function* v);
114 bool unRefFunction(
const Function* v);
116 int findFunction(
const BinID&)
const;
BinID bid_
Definition: velocityfunction.h:70
#define mExpClass(module)
Definition: commondefs.h:160
Velocity.
Definition: velocityfunction.h:32
virtual void getAvailablePositions(BinIDValueSet &) const
Definition: velocityfunction.h:95
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
virtual NotifierAccess * changeNotifier()
Definition: velocityfunction.h:102
Definition: velocityfunction.h:85
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
Interface class for Notifier. See comments there.
Definition: callback.h:161
virtual BinID changeBinID() const
Definition: velocityfunction.h:103
StepInterval< float > desiredrg_
Definition: velocityfunction.h:71
FunctionSource & source_
Definition: velocityfunction.h:69
#define mDefineFactory1ParamInClass(T, P, funcname)
Definition: factory.h:447
Set of pointers to objects.
Definition: commontypes.h:32
#define mRefCountImplNoDestructor(ClassName)
Macro to setup a class without destructor for reference counting.
Definition: refcount.h:167
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
virtual bool usePar(const IOPar &)
Definition: velocityfunction.h:106
Threads::Lock cachelock_
Definition: velocityfunction.h:76
BufferString errmsg_
Definition: velocityfunction.h:121
SamplingData< double > cachesd_
Definition: velocityfunction.h:78
virtual void fillPar(IOPar &) const
Definition: velocityfunction.h:105
const MultiID & multiID() const
Definition: velocityfunction.h:100
ObjectSet< Function > functions_
Definition: velocityfunction.h:123
Threads::Lock lock_
Definition: velocityfunction.h:125
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
MultiID mid_
Definition: velocityfunction.h:120
const char * errMsg() const
Definition: horizontracker.h:61
TypeSet< int > refcounts_
Definition: velocityfunction.h:124
const FunctionSource & getSource() const
Definition: velocityfunction.h:49
Compound key consisting of ints.
Definition: multiid.h:25
Semblance Attribute.
Definition: attribdataholder.h:25
Definition: velocityfunction.h:41
TypeSet< float > * cache_
Definition: velocityfunction.h:77