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

A subclass of Step to smoothen volumes. More...

Inheritance diagram for VolProc::Smoother:
[legend]

Public Member Functions

 Smoother ()
 
 ~Smoother ()
 
bool canHandle2D () const override
 
bool canInputAndOutputBeSame () const override
 
TaskcreateTask () override
 
int crlSz () const
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const override
 
void fillPar (IOPar &) const override
 
TrcKeySampling getInputHRg (const TrcKeySampling &) const override
 
StepInterval< int > getInputZRg (const StepInterval< int > &) const override
 
StepInterval< int > getInputZRgWithGeom (const StepInterval< int > &, Pos::GeomID) const override
 
const char * getOperatorName () const
 
float getOperatorParam () const
 
int inlSz () const
 
bool needsFullVolume () const override
 
bool needsInput () const override
 
void releaseData () override
 
bool setOperator (const char *, float param, int inlsz, int crlsz, int zsz)
 Size is set in multiples of inl/crl/z-step from SI. More...
 
bool usePar (const IOPar &) override
 
int zSz () const
 
- Public Member Functions inherited from VolProc::Step
virtual ~Step ()
 
virtual bool areSamplesIndependent () 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 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 ()
 
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
 

Protected Member Functions

bool prepareComp (int) override
 
- 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
 
void setHStep (const BinID &bid)
 
void setInpNrComps (InputSlotID, int)
 
void setOutputNrComps (int nr)
 
void setVStep (int zstep)
 

Static Protected Member Functions

static const char * sKeyZStepout ()
 

Protected Attributes

Smoother3D< float > * smoother_
 
- 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_
 

Private Member Functions

void setStepouts ()
 

Additional Inherited Members

- Public Types inherited from VolProc::Step
typedef int ID
 
typedef int InputSlotID
 
typedef int OutputSlotID
 
- Static Public Member Functions inherited from VolProc::Step
static ID cUndefID ()
 
static int cUndefSlotID ()
 
static mDeprecatedDef od_int64 getBaseMemoryUsage (const TrcKeySampling &, const StepInterval< int > &)
 

Detailed Description

A subclass of Step to smoothen volumes.

<>

Constructor & Destructor Documentation

◆ ~Smoother()

VolProc::Smoother::~Smoother ( )

◆ Smoother()

VolProc::Smoother::Smoother ( )

Member Function Documentation

◆ canHandle2D()

bool VolProc::Smoother::canHandle2D ( ) const
inlineoverridevirtual

Reimplemented from VolProc::Step.

◆ canInputAndOutputBeSame()

bool VolProc::Smoother::canInputAndOutputBeSame ( ) const
inlineoverridevirtual

Reimplemented from VolProc::Step.

◆ createTask()

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

Reimplemented from VolProc::Step.

◆ crlSz()

int VolProc::Smoother::crlSz ( ) const

◆ extraMemoryUsage()

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

Reimplemented from VolProc::Step.

◆ fillPar()

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

Reimplemented from VolProc::Step.

◆ getInputHRg()

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

When computing TrcKeySampling, how big input is needed?

Reimplemented from VolProc::Step.

◆ getInputZRg()

StepInterval<int> VolProc::Smoother::getInputZRg ( const StepInterval< int > &  ) const
overridevirtual

Reimplemented from VolProc::Step.

◆ getInputZRgWithGeom()

StepInterval<int> VolProc::Smoother::getInputZRgWithGeom ( const StepInterval< int > &  ,
Pos::GeomID   
) const
overridevirtual

When computing Z Sampling, how big input is needed?

Reimplemented from VolProc::Step.

◆ getOperatorName()

const char* VolProc::Smoother::getOperatorName ( ) const

◆ getOperatorParam()

float VolProc::Smoother::getOperatorParam ( ) const

◆ inlSz()

int VolProc::Smoother::inlSz ( ) const

◆ needsFullVolume()

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

Reimplemented from VolProc::Step.

◆ needsInput()

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

Implements VolProc::Step.

◆ prepareComp()

bool VolProc::Smoother::prepareComp ( int  )
inlineoverrideprotectedvirtual

Reimplemented from VolProc::Step.

◆ releaseData()

void VolProc::Smoother::releaseData ( )
overridevirtual

Reimplemented from VolProc::Step.

◆ setOperator()

bool VolProc::Smoother::setOperator ( const char *  ,
float  param,
int  inlsz,
int  crlsz,
int  zsz 
)

Size is set in multiples of inl/crl/z-step from SI.

◆ setStepouts()

void VolProc::Smoother::setStepouts ( )
private

◆ sKeyZStepout()

static const char* VolProc::Smoother::sKeyZStepout ( )
inlinestaticprotected

◆ usePar()

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

Reimplemented from VolProc::Step.

◆ zSz()

int VolProc::Smoother::zSz ( ) const

Member Data Documentation

◆ smoother_

Smoother3D<float>* VolProc::Smoother::smoother_
protected

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