OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VolProc::StatsCalculator Class Reference

Processor for Volume Statistics. More...

Inheritance diagram for VolProc::StatsCalculator:
[legend]

Public Member Functions

 StatsCalculator ()
 
TaskcreateTask () override
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const override
 
void fillPar (IOPar &) const override
 
TrcKeySampling getInputHRg (const TrcKeySampling &) const override
 
bool needsFullVolume () const override
 
bool needsInput () const override
 
void setStatsType (BufferString str)
 
void setStepout (BinID bid)
 
void setZMargin (int nsamp)
 
bool usePar (const IOPar &) override
 
- Public Member Functions inherited from VolProc::Step
virtual ~Step ()
 
virtual bool areSamplesIndependent () const
 
virtual bool canHandle2D () const
 
virtual bool canInputAndOutputBeSame () const
 
virtual TaskcreateTaskWithProgMeter (ProgressMeter *)
 
void enableOutput (OutputSlotID)
 
virtual uiString errMsg () const
 
ChaingetChain ()
 
const ChaingetChain () const
 
ID getID () const
 
const RegularSeisDataPackgetInput (InputSlotID) const
 
TrcKeyZSampling getInputSampling (const TrcKeyZSampling &) const
 
virtual InputSlotID getInputSlotID (int idx) const
 
virtual void getInputSlotName (InputSlotID, BufferString &) const
 
virtual StepInterval< int > getInputZRg (const StepInterval< int > &) const
 
virtual StepInterval< int > getInputZRgWithGeom (const StepInterval< int > &, Pos::GeomID) const
 
virtual int getNrInputs () const
 
virtual int getNrOutputs () const
 
virtual mDeprecatedDef od_int64 getOuputMemSize (int) const
 
RegularSeisDataPackgetOutput ()
 
const RegularSeisDataPackgetOutput () const
 
RegularSeisDataPackgetOutput (OutputSlotID)
 
const RegularSeisDataPackgetOutput (OutputSlotID) const
 
int getOutputIdx (OutputSlotID) const
 
virtual OutputSlotID getOutputSlotID (int idx) const
 
virtual mDeprecatedDef od_int64 getProcTimeExtraMemory () const
 
virtual const VelocityDescgetVelDesc () const
 
bool is2D () const
 
virtual bool isInputPrevStep () const
 
virtual bool needReportProgress ()
 
virtual void releaseData ()
 
void resetInput ()
 
virtual void setInput (InputSlotID, const RegularSeisDataPack *)
 
virtual void setOutput (OutputSlotID, RegularSeisDataPack *, const TrcKeySampling &, const StepInterval< int > &)
 
virtual void setUserName (const char *nm)
 
virtual const char * userName () const
 
bool validInputSlotID (InputSlotID) const
 
bool validOutputSlotID (OutputSlotID) const
 

Static Public Member Functions

static const char * sZSampMargin ()
 
- Static Public Member Functions inherited from VolProc::Step
static ID cUndefID ()
 
static int cUndefSlotID ()
 
static mDeprecatedDef od_int64 getBaseMemoryUsage (const TrcKeySampling &, const StepInterval< int > &)
 

Protected Member Functions

 ~StatsCalculator ()
 
- Protected Member Functions inherited from VolProc::Step
 Step ()
 
virtual bool computeBinID (const BinID &, int threadid)
 
od_uint64 getComponentMemory (const TrcKeySampling &, bool input) const
 
int getNrInputComponents (InputSlotID) const
 
int getNrOutComponents () const
 
const StepInterval< float > & getZSampling () const
 
virtual bool prefersBinIDWise () const
 
virtual bool prepareComp (int nrthreads)
 
void setHStep (const BinID &bid)
 
void setInpNrComps (InputSlotID, int)
 
void setOutputNrComps (int nr)
 
void setVStep (int zstep)
 

Protected Attributes

int nzsampextra_
 
BufferString statstype_
 
BinID stepout_
 
- Protected Attributes inherited from VolProc::Step
Chainchain_
 
uiString errmsg_
 
ID id_
 
ObjectSet< const RegularSeisDataPackinputs_
 
TypeSet< InputSlotIDinputslotids_
 
TypeSet< OutputSlotIDoutputslotids_
 
mDeprecatedDef TrcKeySampling tks_
 
BufferString username_
 
mDeprecatedDef StepInterval< int > zrg_
 

Additional Inherited Members

- Public Types inherited from VolProc::Step
typedef int ID
 
typedef int InputSlotID
 
typedef int OutputSlotID
 

Detailed Description

Processor for Volume Statistics.

<>

Constructor & Destructor Documentation

◆ StatsCalculator()

VolProc::StatsCalculator::StatsCalculator ( )

◆ ~StatsCalculator()

VolProc::StatsCalculator::~StatsCalculator ( )
protected

Member Function Documentation

◆ createTask()

Task* VolProc::StatsCalculator::createTask ( )
overridevirtual

Reimplemented from VolProc::Step.

◆ extraMemoryUsage()

od_int64 VolProc::StatsCalculator::extraMemoryUsage ( OutputSlotID  ,
const TrcKeySampling ,
const StepInterval< int > &   
) const
overridevirtual

Reimplemented from VolProc::Step.

◆ fillPar()

void VolProc::StatsCalculator::fillPar ( IOPar ) const
overridevirtual

Reimplemented from VolProc::Step.

◆ getInputHRg()

TrcKeySampling VolProc::StatsCalculator::getInputHRg ( const TrcKeySampling ) const
overridevirtual

When computing TrcKeySampling, how big input is needed?

Reimplemented from VolProc::Step.

◆ needsFullVolume()

bool VolProc::StatsCalculator::needsFullVolume ( ) const
inlineoverridevirtual

Reimplemented from VolProc::Step.

◆ needsInput()

bool VolProc::StatsCalculator::needsInput ( ) const
inlineoverridevirtual

Implements VolProc::Step.

◆ setStatsType()

void VolProc::StatsCalculator::setStatsType ( BufferString  str)
inline

◆ setStepout()

void VolProc::StatsCalculator::setStepout ( BinID  bid)
inline

◆ setZMargin()

void VolProc::StatsCalculator::setZMargin ( int  nsamp)
inline

◆ sZSampMargin()

static const char* VolProc::StatsCalculator::sZSampMargin ( )
inlinestatic

◆ usePar()

bool VolProc::StatsCalculator::usePar ( const IOPar )
overridevirtual

Reimplemented from VolProc::Step.

Member Data Documentation

◆ nzsampextra_

int VolProc::StatsCalculator::nzsampextra_
protected

◆ statstype_

BufferString VolProc::StatsCalculator::statstype_
protected

◆ stepout_

BinID VolProc::StatsCalculator::stepout_
protected

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