OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
VolProc::StatsCalculator Class Reference

Processor for Volume Statistics. More...

Inheritance diagram for VolProc::StatsCalculator:
[legend]

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

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

Private Member Functions

 mODTextTranslationClass (StatsCalculator)
 

Additional Inherited Members

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

Detailed Description

Processor for Volume Statistics.

Member Function Documentation

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

Reimplemented from VolProc::Step.

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

Reimplemented from VolProc::Step.

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

Reimplemented from VolProc::Step.

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

When computing TrcKeySampling, how big input is needed?

Reimplemented from VolProc::Step.

VolProc::StatsCalculator::mDefaultFactoryInstantiation ( VolProc::Step  ,
StatsCalculator  ,
"Volume Statistics"  ,
tr("Volume Statistics")   
)
VolProc::StatsCalculator::mODTextTranslationClass ( StatsCalculator  )
private
virtual bool VolProc::StatsCalculator::needsFullVolume ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

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

Implements VolProc::Step.

void VolProc::StatsCalculator::setStatsType ( BufferString  str)
inline
void VolProc::StatsCalculator::setStepout ( BinID  bid)
inline
void VolProc::StatsCalculator::setZMargin ( int  nsamp)
inline
static const char* VolProc::StatsCalculator::sZSampMargin ( )
inlinestatic
bool VolProc::StatsCalculator::usePar ( const IOPar )
virtual

Reimplemented from VolProc::Step.

Member Data Documentation

int VolProc::StatsCalculator::nzsampextra_
protected
BufferString VolProc::StatsCalculator::statstype_
protected
BinID VolProc::StatsCalculator::stepout_
protected

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