OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
Attrib::Provider Class Referenceabstract

Provides the actual output to ... More...

Inheritance diagram for Attrib::Provider:
[legend]

Public Member Functions

void addLocalCompZIntervals (const TypeSet< Interval< int > > &)
 
virtual void adjust2DLineStoredVolume ()
 
int alignInputs (ObjectSet< Provider > &)
 
int comparePosAndAlign (Provider *, bool, Provider *, bool, bool)
 
virtual bool compDistBetwTrcsStats (bool force=false)
 
void computeNewStartPos (BinID &)
 
void computeRefStep ()
 
void computeRefZ0 ()
 
void doParallel (bool yn)
 
void enableAllOutputs (bool yn=true)
 
void enableOutput (int output, bool yn=true)
 
uiString errMsg () const
 
virtual void fillDataPackWithTrc (RegularSeisDataPack *) const
 
float getApplicableCrlDist (bool) const
 
virtual void getCompNames (BufferStringSet &) const
 
virtual void getCompOutputIDs (TypeSet< int > &) const
 
Coord getCoord (const BinID &) const
 
Coord getCurrentCoord () const
 
BinID getCurrentPosition () const
 
virtual const SeisTrcInfogetCurrentTrcInfo () const
 
const DataHoldergetData (const BinID &relpos=BinID(0, 0), int idx=0)
 
const DataHoldergetDataDontCompute (const BinID &relpos) const
 
bool getDataUnavailableFlag () const
 
const BinIDgetDesBufStepout () const
 
DescgetDesc ()
 
const DescgetDesc () const
 
const TrcKeyZSamplinggetDesiredVolume () const
 
virtual float getDistBetwTrcs (bool, const char *linenm=0) const
 
BinID getElementStepout () const
 
virtual Pos::GeomID getGeomID () const
 
ObjectSet< Provider > & getInputs ()
 
const TrcKeyZSamplinggetPossibleVolume () const
 
virtual bool getPossibleVolume (int outp, TrcKeyZSampling &)
 
float getRefStep () const
 
float getRefZ0 () const
 
const BinIDgetReqBufStepout () const
 
virtual BinID getStepoutStep () const
 
int getTotalNrPos (bool)
 
BinID getTrcInfoBid () const
 
virtual void initSteering ()
 
bool is2D () const
 
virtual bool isOK () const
 
bool isOutputEnabled (int output) const
 
virtual bool isSingleTrace () const
 
const TypeSet< Interval< int > > & localCompZIntervals () const
 
virtual int moveToNextTrace (BinID startpos=BinID::udf(), bool firstcheck=false)
 
virtual bool needStoredInput () const
 
int nrOutputs () const
 
virtual void prepareForComputeData ()
 
virtual void prepPriorToBoundsCalc ()
 
virtual bool prepPriorToOutputSetup ()
 
virtual void prepSteeringForStepout (const BinID &)
 
void resetDesiredVolume ()
 
void resetMoved ()
 
void resetZIntervals ()
 
void setCurLineName (const char *)
 
virtual bool setCurrentPosition (const BinID &)
 
void setDataUnavailableFlag (bool yn)
 
virtual void setDesBufStepout (const BinID &, bool wait=false)
 
void setDesiredVolume (const TrcKeyZSampling &)
 
void setExactZ (const TypeSet< float > &)
 
void setExtraZ (const Interval< float > &)
 
virtual void setGeomID (Pos::GeomID)
 
void setNeedInterpol (bool)
 
void setOutputInterestSize (bool preserve=false)
 
void setPossibleVolume (const TrcKeyZSampling &)
 
virtual void setRdmPaths (const TypeSet< BinID > &truepath, const TypeSet< BinID > &snappedpath)
 For directional attributes. More...
 
void setRefStep (float step)
 
void setRefZ0 (float z0)
 
virtual void setReqBufStepout (const BinID &, bool wait=false)
 
void setSelData (const Seis::SelData *)
 
void setUseSC ()
 
virtual void updateCSIfNeeded (TrcKeyZSampling &) const
 
void updateCurrentInfo ()
 
void updateInputReqs (int input=-1)
 
virtual void updateStorageReqs (bool all=false)
 
virtual bool usesTracePosition () const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Static Public Member Functions

static Providercreate (Desc &, uiString &errmsg)
 
static uiString prepare (Desc &)
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

Protected Member Functions

 Provider (Desc &)
 
virtual ~Provider ()
 
void addParent (Provider *prov)
 
virtual bool allowParallelComputation () const
 
virtual bool checkInpAndParsAtStart ()
 
virtual bool computeData (const DataHolder &output, const BinID &relpos, int t0, int nrsamples, int threadidx) const =0
 
void computeDesInputCube (int inp, int out, TrcKeyZSampling &, bool usestepout=true) const
 
float crlDist () const
 
virtual const BinIDdesStepout (int input, int output) const
 
virtual const Interval< float > * desZMargin (int input, int output) const
 
virtual const Interval< int > * desZSampMargin (int input, int output) const
 
float dipFactor () const
 
virtual bool doNotReUseDH () const
 
void fillInputRangesArray (Array2DImpl< BasicInterval< int > > &, int, const BasicInterval< int > &)
 
virtual bool finalizeCalculation (bool scs)
 
DataHoldergetDataHolder (const BinID &relpos)
 
int getDataIndex (int input) const
 
float getExtraZFromSampInterval (int, int) const
 
float getExtraZFromSampPos (float) const
 
virtual bool getInputData (const BinID &relpos, int idx)
 
virtual bool getInputOutput (int input, TypeSet< int > &) const
 
float getInputValue (const DataHolder &, int inputidx, int sampleidx, int z0) const
 
float getInterpolInputValue (const DataHolder &, int inputidx, float sample, int z0) const
 
float getInterpolInputValue (const DataHolder &, int inputidx, float zval) const
 
virtual SeisMSCProvidergetMSCProvider (bool &) const
 
virtual BinDataDesc getOutputFormat (int output) const
 
virtual bool getZ0StoredData (float &z0) const
 
float getZAtSample (int idx) const
 
virtual bool getZStepStoredData (float &step) const
 
float inlDist () const
 
bool isNew2DLine () const
 
bool isUsedMultTimes ()
 
float lineDist () const
 
float maxSecureDip () const
 
virtual int minTaskSize () const
 
virtual bool preProcCommonToAllThreads (const DataHolder &out, const BinID &relpos)
 
void removeDataHolder (const BinID &relpos)
 
virtual const BinIDreqStepout (int input, int output) const
 
virtual const Interval< float > * reqZMargin (int input, int output) const
 
virtual const Interval< int > * reqZSampMargin (int input, int output) const
 
void setInput (int input, Provider *)
 
virtual bool setNrThreads (int idx)
 
void setOutputValue (const DataHolder &output, int outputidx, int sampleidx, int z0, float val) const
 
void setUsedMultTimes ()
 
void stdPrepSteering (const BinID &)
 
float trcDist () const
 
virtual bool useInterTrcDist () const
 
float zFactor () const
 
bool zIsTime () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Static Protected Member Functions

static ProviderinternalCreate (Desc &, ObjectSet< Provider > &, bool &issame, uiString &)
 

Protected Attributes

ObjectSet< Providerallexistingprov_
 
bool alreadymoved_
 
BinID currentbid_
 
const SeisTrcInfocurtrcinfo_
 
bool dataunavailableflag_
 
BinID desbufferstepout_
 
Descdesc_
 
TrcKeyZSamplingdesiredvolume_
 
uiString errmsg_
 
TypeSet< float > exactz_
 
Interval< float > extraz_
 
Pos::GeomID geomid_
 
ObjectSet< Providerinputs_
 
bool isusedmulttimes_
 
DataHolderLineBufferlinebuffer_
 
TypeSet< Interval< int > > localcomputezintervals_
 
bool needinterp_
 
TypeSet< int > outputinterest_
 
bool parallel_ = true
 
ObjectSet< Providerparents_
 
TrcKeyZSamplingpossiblevolume_
 
int prevtrcnr_
 
ProviderTaskprovidertask_
 
float refstep_
 
float refz0_
 
BinID reqbufferstepout_
 
const Seis::SelDataseldata_
 
BinID trcinfobid_
 
bool useshortcuts_
 

Friends

class ProviderTask
 

Detailed Description

Provides the actual output to ...

<>

Constructor & Destructor Documentation

◆ Provider()

Attrib::Provider::Provider ( Desc )
protected

◆ ~Provider()

virtual Attrib::Provider::~Provider ( )
protectedvirtual

Member Function Documentation

◆ addLocalCompZIntervals()

void Attrib::Provider::addLocalCompZIntervals ( const TypeSet< Interval< int > > &  )

◆ addParent()

void Attrib::Provider::addParent ( Provider prov)
inlineprotected

◆ adjust2DLineStoredVolume()

virtual void Attrib::Provider::adjust2DLineStoredVolume ( )
virtual

Reimplemented in Attrib::StorageProvider.

◆ alignInputs()

int Attrib::Provider::alignInputs ( ObjectSet< Provider > &  )

◆ allowParallelComputation()

virtual bool Attrib::Provider::allowParallelComputation ( ) const
inlineprotectedvirtual

◆ checkInpAndParsAtStart()

virtual bool Attrib::Provider::checkInpAndParsAtStart ( )
protectedvirtual

Should be used for check after inputs are set, for extra checks at other time use isOK()

Reimplemented in Attrib::Frequency, and Attrib::StorageProvider.

◆ comparePosAndAlign()

int Attrib::Provider::comparePosAndAlign ( Provider ,
bool  ,
Provider ,
bool  ,
bool   
)

◆ compDistBetwTrcsStats()

virtual bool Attrib::Provider::compDistBetwTrcsStats ( bool  force = false)
virtual

Reimplemented in Attrib::StorageProvider.

◆ computeData()

virtual bool Attrib::Provider::computeData ( const DataHolder output,
const BinID relpos,
int  t0,
int  nrsamples,
int  threadidx 
) const
protectedpure virtual

◆ computeDesInputCube()

void Attrib::Provider::computeDesInputCube ( int  inp,
int  out,
TrcKeyZSampling ,
bool  usestepout = true 
) const
protected

The system uses the margin and stepout requirements to compute the ideal desired volume for each input

◆ computeNewStartPos()

void Attrib::Provider::computeNewStartPos ( BinID )

◆ computeRefStep()

void Attrib::Provider::computeRefStep ( )

If an attribute uses as inputs stored cubes with a different z step the smallest one will be taken as reference step

◆ computeRefZ0()

void Attrib::Provider::computeRefZ0 ( )

If an attribute uses as inputs stored cubes with a different z0 the smallest one will be taken as reference z0

◆ create()

static Provider* Attrib::Provider::create ( Desc ,
uiString errmsg 
)
static

Also creates all inputs, the input's inputs, and so on

◆ crlDist()

float Attrib::Provider::crlDist ( ) const
protected

◆ desStepout()

virtual const BinID* Attrib::Provider::desStepout ( int  input,
int  output 
) const
protectedvirtual

The system will try to supply the attribute with the desired stepout, but will not take the desired stepout into account when computing the volume that can be computed.

Returns
the desired stepout on input if output is going to be computed, or NULL if no stepout is desired.

Reimplemented in Attrib::Texture, Attrib::GLCM_attrib, Attrib::SimilaritybyAW, Attrib::Tutorial, Attrib::VolStatsBase, Attrib::Similarity, Attrib::Semblance, Attrib::DipFilter, and Attrib::GrubbsFilter.

◆ desZMargin()

virtual const Interval<float>* Attrib::Provider::desZMargin ( int  input,
int  output 
) const
protectedvirtual

The gate is specified in the depth-unit of the survey (e.g. seconds, feet or meters), and is in addition to the gate specified in desZSampMargin. The system will try to supply the attribute with the desired gate, but will not take the desired gate into account when computing the volume that can be computed.

Returns
the extra gate desired on input if output is going to be computed, or NULL if no extra gate is desired.

Reimplemented in Attrib::Mathematics, Attrib::Similarity, Attrib::Shift, Attrib::Semblance, Attrib::Position, Attrib::Event, Attrib::GLCM_attrib, Attrib::GrubbsFilter, Attrib::CorrMultiAttrib, and Attrib::VolStatsBase.

◆ desZSampMargin()

virtual const Interval<int>* Attrib::Provider::desZSampMargin ( int  input,
int  output 
) const
protectedvirtual

The gate is specified in the trace samples, and is in addition to the gate specified in desZMargin. The system will try to supply the attribute with the desired gate, but will not take the desired gate into account when computing the volume that can be computed.

Returns
the extra gate desired on input if output is going to be computed, or NULL if no extra gate is desired.

Reimplemented in Attrib::Texture, Attrib::MatchDelta, Attrib::GapDecon, Attrib::DipFilter, Attrib::DeltaResample, Attrib::MadAGC, Attrib::SimilaritybyAW, Attrib::EventFreq, Attrib::Tutorial, Attrib::CEEMD, Attrib::SpecDecomp, Attrib::Hilbert, Attrib::FreqFilter, Attrib::Energy, Attrib::Convolve, Attrib::GLCM_attrib, Attrib::IntegratedTrace, and Attrib::Scaling.

◆ dipFactor()

float Attrib::Provider::dipFactor ( ) const
protected

◆ doNotReUseDH()

virtual bool Attrib::Provider::doNotReUseDH ( ) const
inlineprotectedvirtual

◆ doParallel()

void Attrib::Provider::doParallel ( bool  yn)
inline

◆ enableAllOutputs()

void Attrib::Provider::enableAllOutputs ( bool  yn = true)

◆ enableOutput()

void Attrib::Provider::enableOutput ( int  output,
bool  yn = true 
)

◆ errMsg()

uiString Attrib::Provider::errMsg ( ) const

◆ fillDataPackWithTrc()

virtual void Attrib::Provider::fillDataPackWithTrc ( RegularSeisDataPack ) const
inlinevirtual

Reimplemented in Attrib::StorageProvider.

◆ fillInputRangesArray()

void Attrib::Provider::fillInputRangesArray ( Array2DImpl< BasicInterval< int > > &  ,
int  ,
const BasicInterval< int > &   
)
protected

◆ finalizeCalculation()

virtual bool Attrib::Provider::finalizeCalculation ( bool  scs)
inlineprotectedvirtual

Called one all computeData have returned.

Parameters
scsis true if all computeData were successful.

◆ getApplicableCrlDist()

float Attrib::Provider::getApplicableCrlDist ( bool  ) const

◆ getCompNames()

virtual void Attrib::Provider::getCompNames ( BufferStringSet ) const
virtual

◆ getCompOutputIDs()

virtual void Attrib::Provider::getCompOutputIDs ( TypeSet< int > &  ) const
virtual

◆ getCoord()

Coord Attrib::Provider::getCoord ( const BinID ) const

◆ getCurrentCoord()

Coord Attrib::Provider::getCurrentCoord ( ) const

◆ getCurrentPosition()

BinID Attrib::Provider::getCurrentPosition ( ) const

◆ getCurrentTrcInfo()

virtual const SeisTrcInfo* Attrib::Provider::getCurrentTrcInfo ( ) const
inlinevirtual

◆ getData()

const DataHolder* Attrib::Provider::getData ( const BinID relpos = BinID(0, 0),
int  idx = 0 
)

◆ getDataDontCompute()

const DataHolder* Attrib::Provider::getDataDontCompute ( const BinID relpos) const

◆ getDataHolder()

DataHolder* Attrib::Provider::getDataHolder ( const BinID relpos)
protected

◆ getDataIndex()

int Attrib::Provider::getDataIndex ( int  input) const
protected

Gets the index of the serie needed in the input DataHolder

◆ getDataUnavailableFlag()

bool Attrib::Provider::getDataUnavailableFlag ( ) const

◆ getDesBufStepout()

const BinID& Attrib::Provider::getDesBufStepout ( ) const
inline

◆ getDesc() [1/2]

Desc& Attrib::Provider::getDesc ( )

◆ getDesc() [2/2]

const Desc& Attrib::Provider::getDesc ( ) const

◆ getDesiredVolume()

const TrcKeyZSampling* Attrib::Provider::getDesiredVolume ( ) const
inline

◆ getDistBetwTrcs()

virtual float Attrib::Provider::getDistBetwTrcs ( bool  ,
const char *  linenm = 0 
) const
virtual

Reimplemented in Attrib::StorageProvider.

◆ getElementStepout()

BinID Attrib::Provider::getElementStepout ( ) const

◆ getExtraZFromSampInterval()

float Attrib::Provider::getExtraZFromSampInterval ( int  ,
int   
) const
protected

◆ getExtraZFromSampPos()

float Attrib::Provider::getExtraZFromSampPos ( float  ) const
protected

◆ getGeomID()

virtual Pos::GeomID Attrib::Provider::getGeomID ( ) const
virtual

Reimplemented in Attrib::StorageProvider.

◆ getInputData()

virtual bool Attrib::Provider::getInputData ( const BinID relpos,
int  idx 
)
protectedvirtual

◆ getInputOutput()

virtual bool Attrib::Provider::getInputOutput ( int  input,
TypeSet< int > &   
) const
protectedvirtual

◆ getInputs()

ObjectSet<Provider>& Attrib::Provider::getInputs ( )
inline

◆ getInputValue()

float Attrib::Provider::getInputValue ( const DataHolder ,
int  inputidx,
int  sampleidx,
int  z0 
) const
protected

◆ getInterpolInputValue() [1/2]

float Attrib::Provider::getInterpolInputValue ( const DataHolder ,
int  inputidx,
float  sample,
int  z0 
) const
protected

◆ getInterpolInputValue() [2/2]

float Attrib::Provider::getInterpolInputValue ( const DataHolder ,
int  inputidx,
float  zval 
) const
protected

◆ getMSCProvider()

virtual SeisMSCProvider* Attrib::Provider::getMSCProvider ( bool &  ) const
protectedvirtual

Reimplemented in Attrib::StorageProvider.

◆ getOutputFormat()

virtual BinDataDesc Attrib::Provider::getOutputFormat ( int  output) const
protectedvirtual

Reimplemented in Attrib::StorageProvider.

◆ getPossibleVolume() [1/2]

const TrcKeyZSampling* Attrib::Provider::getPossibleVolume ( ) const
inline

◆ getPossibleVolume() [2/2]

virtual bool Attrib::Provider::getPossibleVolume ( int  outp,
TrcKeyZSampling  
)
virtual

Reimplemented in Attrib::StorageProvider.

◆ getRefStep()

float Attrib::Provider::getRefStep ( ) const

◆ getRefZ0()

float Attrib::Provider::getRefZ0 ( ) const
inline

◆ getReqBufStepout()

const BinID& Attrib::Provider::getReqBufStepout ( ) const
inline

◆ getStepoutStep()

virtual BinID Attrib::Provider::getStepoutStep ( ) const
virtual

Reimplemented in Attrib::StorageProvider.

◆ getTotalNrPos()

int Attrib::Provider::getTotalNrPos ( bool  )

◆ getTrcInfoBid()

BinID Attrib::Provider::getTrcInfoBid ( ) const
inline

◆ getZ0StoredData()

virtual bool Attrib::Provider::getZ0StoredData ( float &  z0) const
inlineprotectedvirtual

Reimplemented in Attrib::StorageProvider.

◆ getZAtSample()

float Attrib::Provider::getZAtSample ( int  idx) const
inlineprotected

◆ getZStepStoredData()

virtual bool Attrib::Provider::getZStepStoredData ( float &  step) const
inlineprotectedvirtual

Reimplemented in Attrib::StorageProvider.

◆ initSteering()

virtual void Attrib::Provider::initSteering ( )
inlinevirtual

◆ inlDist()

float Attrib::Provider::inlDist ( ) const
protected

◆ internalCreate()

static Provider* Attrib::Provider::internalCreate ( Desc ,
ObjectSet< Provider > &  ,
bool &  issame,
uiString  
)
staticprotected

Creates the provider needed and all its input providers

◆ is2D()

bool Attrib::Provider::is2D ( ) const

◆ isNew2DLine()

bool Attrib::Provider::isNew2DLine ( ) const
inlineprotected

◆ isOK()

virtual bool Attrib::Provider::isOK ( ) const
virtual

Reimplemented in Attrib::Horizon.

◆ isOutputEnabled()

bool Attrib::Provider::isOutputEnabled ( int  output) const

◆ isSingleTrace()

virtual bool Attrib::Provider::isSingleTrace ( ) const
virtual

◆ isUsedMultTimes()

bool Attrib::Provider::isUsedMultTimes ( )
inlineprotected

◆ lineDist()

float Attrib::Provider::lineDist ( ) const
protected

◆ localCompZIntervals()

const TypeSet< Interval<int> >& Attrib::Provider::localCompZIntervals ( ) const

◆ maxSecureDip()

float Attrib::Provider::maxSecureDip ( ) const
inlineprotected

◆ minTaskSize()

virtual int Attrib::Provider::minTaskSize ( ) const
inlineprotectedvirtual

◆ moveToNextTrace()

virtual int Attrib::Provider::moveToNextTrace ( BinID  startpos = BinID::udf(),
bool  firstcheck = false 
)
virtual
Return values
-1something went wrong
0finished, no more positions
1arrived at new position

Reimplemented in Attrib::StorageProvider.

◆ needStoredInput()

virtual bool Attrib::Provider::needStoredInput ( ) const
virtual

Reimplemented in Attrib::StorageProvider.

◆ nrOutputs()

int Attrib::Provider::nrOutputs ( ) const
inline

◆ prepare()

static uiString Attrib::Provider::prepare ( Desc )
static

Must be called before getting inputs/outputs etc. from a Desc

◆ prepareForComputeData()

virtual void Attrib::Provider::prepareForComputeData ( )
virtual

◆ prepPriorToBoundsCalc()

virtual void Attrib::Provider::prepPriorToBoundsCalc ( )
virtual

Z refstep is known now, this is meant to be used before possible- and desired- volumes are computed

Reimplemented in Attrib::VolStats, Attrib::VolStatsBase, Attrib::Similarity, Attrib::Shift, Attrib::Semblance, Attrib::PSAttrib, Attrib::Position, Attrib::Frequency, Attrib::Convolve, Attrib::GrubbsFilter, and Attrib::Coherency.

◆ prepPriorToOutputSetup()

virtual bool Attrib::Provider::prepPriorToOutputSetup ( )
virtual

returns whether the outputs plan acquired from the parameter file has to be overruled

Reimplemented in Attrib::CEEMD, Attrib::SpecDecomp, and Attrib::Instantaneous.

◆ preProcCommonToAllThreads()

virtual bool Attrib::Provider::preProcCommonToAllThreads ( const DataHolder out,
const BinID relpos 
)
inlineprotectedvirtual

Computes things that are common to all threads; typically initialization of class variables which rely on input data (and thus cannot be inited before in other prep* functions)

◆ prepSteeringForStepout()

virtual void Attrib::Provider::prepSteeringForStepout ( const BinID )
inlinevirtual

◆ removeDataHolder()

void Attrib::Provider::removeDataHolder ( const BinID relpos)
protected

◆ reqStepout()

virtual const BinID* Attrib::Provider::reqStepout ( int  input,
int  output 
) const
protectedvirtual

The system will supply the attribute with the required stepout, and use it to compute the volume that can be computed.

Returns
the required stepout on input if output is going to be computed, or NULL if no stepout is required.

Reimplemented in Attrib::Texture, Attrib::Similarity, Attrib::Shift, Attrib::Semblance, Attrib::Position, Attrib::Convolve, Attrib::MadAGC, Attrib::GLCM_attrib, and Attrib::Coherency.

◆ reqZMargin()

virtual const Interval<float>* Attrib::Provider::reqZMargin ( int  input,
int  output 
) const
protectedvirtual

◆ reqZSampMargin()

virtual const Interval<int>* Attrib::Provider::reqZSampMargin ( int  input,
int  output 
) const
protectedvirtual

The gate is specified in the trace samples, and is in addition to the gate specified in reqZMargin. The system will supply the attribute with the required gate, and use it to compute the volume that can be computed.

Returns
the extra gate required on input if output is going to be computed, or NULL if no extra gate is required.

Reimplemented in Attrib::Instantaneous, Attrib::Mathematics, and Attrib::Convolve.

◆ resetDesiredVolume()

void Attrib::Provider::resetDesiredVolume ( )

◆ resetMoved()

void Attrib::Provider::resetMoved ( )

◆ resetZIntervals()

void Attrib::Provider::resetZIntervals ( )

◆ setCurLineName()

void Attrib::Provider::setCurLineName ( const char *  )

◆ setCurrentPosition()

virtual bool Attrib::Provider::setCurrentPosition ( const BinID )
virtual

◆ setDataUnavailableFlag()

void Attrib::Provider::setDataUnavailableFlag ( bool  yn)

◆ setDesBufStepout()

virtual void Attrib::Provider::setDesBufStepout ( const BinID ,
bool  wait = false 
)
virtual

Reimplemented in Attrib::StorageProvider.

◆ setDesiredVolume()

void Attrib::Provider::setDesiredVolume ( const TrcKeyZSampling )

The desired volume is the ideal volume required by the user

◆ setExactZ()

void Attrib::Provider::setExactZ ( const TypeSet< float > &  )

◆ setExtraZ()

void Attrib::Provider::setExtraZ ( const Interval< float > &  )

◆ setGeomID()

virtual void Attrib::Provider::setGeomID ( Pos::GeomID  )
virtual

◆ setInput()

void Attrib::Provider::setInput ( int  input,
Provider  
)
protected

◆ setNeedInterpol()

void Attrib::Provider::setNeedInterpol ( bool  )

◆ setNrThreads()

virtual bool Attrib::Provider::setNrThreads ( int  idx)
inlineprotectedvirtual

◆ setOutputInterestSize()

void Attrib::Provider::setOutputInterestSize ( bool  preserve = false)

◆ setOutputValue()

void Attrib::Provider::setOutputValue ( const DataHolder output,
int  outputidx,
int  sampleidx,
int  z0,
float  val 
) const
protected

◆ setPossibleVolume()

void Attrib::Provider::setPossibleVolume ( const TrcKeyZSampling )

The possible volume is the volume that can really be computed taking care of all margins and stepouts

◆ setRdmPaths()

virtual void Attrib::Provider::setRdmPaths ( const TypeSet< BinID > &  truepath,
const TypeSet< BinID > &  snappedpath 
)
virtual

For directional attributes.

Special case for attributes (like PreStack) which inputs are not treated as normal input cubes and thus not delivering adequate cs automaticly

Reimplemented in Attrib::VolStats.

◆ setRefStep()

void Attrib::Provider::setRefStep ( float  step)

◆ setRefZ0()

void Attrib::Provider::setRefZ0 ( float  z0)

◆ setReqBufStepout()

virtual void Attrib::Provider::setReqBufStepout ( const BinID ,
bool  wait = false 
)
virtual

Reimplemented in Attrib::StorageProvider.

◆ setSelData()

void Attrib::Provider::setSelData ( const Seis::SelData )

◆ setUsedMultTimes()

void Attrib::Provider::setUsedMultTimes ( )
protected

The same provider can be used multiple times which allows the attribute to be computed only once

◆ setUseSC()

void Attrib::Provider::setUseSC ( )
inline

◆ stdPrepSteering()

void Attrib::Provider::stdPrepSteering ( const BinID )
protected

◆ trcDist()

float Attrib::Provider::trcDist ( ) const
protected

◆ updateCSIfNeeded()

virtual void Attrib::Provider::updateCSIfNeeded ( TrcKeyZSampling ) const
inlinevirtual

Reimplemented in Attrib::PSAttrib.

◆ updateCurrentInfo()

void Attrib::Provider::updateCurrentInfo ( )

◆ updateInputReqs()

void Attrib::Provider::updateInputReqs ( int  input = -1)

◆ updateStorageReqs()

virtual void Attrib::Provider::updateStorageReqs ( bool  all = false)
virtual

Reimplemented in Attrib::StorageProvider.

◆ useInterTrcDist()

virtual bool Attrib::Provider::useInterTrcDist ( ) const
protectedvirtual

Reimplemented in Attrib::StorageProvider.

◆ usesTracePosition()

virtual bool Attrib::Provider::usesTracePosition ( ) const
virtual

Reimplemented in Attrib::FingerPrint.

◆ zFactor()

float Attrib::Provider::zFactor ( ) const
protected

◆ zIsTime()

bool Attrib::Provider::zIsTime ( ) const
protected

Friends And Related Function Documentation

◆ ProviderTask

friend class ProviderTask
friend

Member Data Documentation

◆ allexistingprov_

ObjectSet<Provider> Attrib::Provider::allexistingprov_
protected

◆ alreadymoved_

bool Attrib::Provider::alreadymoved_
protected

◆ currentbid_

BinID Attrib::Provider::currentbid_
protected

◆ curtrcinfo_

const SeisTrcInfo* Attrib::Provider::curtrcinfo_
protected

◆ dataunavailableflag_

bool Attrib::Provider::dataunavailableflag_
protected

◆ desbufferstepout_

BinID Attrib::Provider::desbufferstepout_
protected

◆ desc_

Desc& Attrib::Provider::desc_
protected

◆ desiredvolume_

TrcKeyZSampling* Attrib::Provider::desiredvolume_
protected

◆ errmsg_

uiString Attrib::Provider::errmsg_
protected

◆ exactz_

TypeSet<float> Attrib::Provider::exactz_
protected

◆ extraz_

Interval<float> Attrib::Provider::extraz_
protected

◆ geomid_

Pos::GeomID Attrib::Provider::geomid_
protected

◆ inputs_

ObjectSet<Provider> Attrib::Provider::inputs_
protected

◆ isusedmulttimes_

bool Attrib::Provider::isusedmulttimes_
protected

◆ linebuffer_

DataHolderLineBuffer* Attrib::Provider::linebuffer_
protected

◆ localcomputezintervals_

TypeSet< Interval<int> > Attrib::Provider::localcomputezintervals_
protected

◆ needinterp_

bool Attrib::Provider::needinterp_
protected

◆ outputinterest_

TypeSet<int> Attrib::Provider::outputinterest_
protected

◆ parallel_

bool Attrib::Provider::parallel_ = true
protected

◆ parents_

ObjectSet<Provider> Attrib::Provider::parents_
protected

◆ possiblevolume_

TrcKeyZSampling* Attrib::Provider::possiblevolume_
protected

◆ prevtrcnr_

int Attrib::Provider::prevtrcnr_
protected

◆ providertask_

ProviderTask* Attrib::Provider::providertask_
protected

◆ refstep_

float Attrib::Provider::refstep_
protected

◆ refz0_

float Attrib::Provider::refz0_
protected

◆ reqbufferstepout_

BinID Attrib::Provider::reqbufferstepout_
protected

◆ seldata_

const Seis::SelData* Attrib::Provider::seldata_
protected

◆ trcinfobid_

BinID Attrib::Provider::trcinfobid_
protected

◆ useshortcuts_

bool Attrib::Provider::useshortcuts_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024