OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Smoother2D< T > Class Template Reference

Smoothes a 2d signal with an operator. More...

Inheritance diagram for Smoother2D< T >:
[legend]

Public Member Functions

 Smoother2D ()
 
 ~Smoother2D ()
 
void controlWork (Task::Control) override
 
void enableWorkControl (bool) override
 Must be called before execute() More...
 
bool execute () override
 
void fillPar (IOPar &) const
 
Task::Control getState () const override
 
const char * getWindowName () const
 
float getWindowParam () const
 
int getWindowSize (int dim) const
 
void setInput (const Array2D< T > &, bool hasudf)
 
void setOutput (Array2D< T > &)
 
bool setWindow (const char *nm, float param, int sz0, int sz1)
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from ReportingTask
virtual ~ReportingTask ()
 
void getProgress (const ReportingTask &)
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual uiRetVal errorWithDetails () const
 
virtual std::int64_t nrDone () const
 
virtual std::int64_t totalNr () const
 
virtual uiString uiMessage () const
 will be message() again in 7.x More...
 
virtual uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
bool workControlEnabled () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static const char * sKeyWinFunc ()
 
static const char * sKeyWinParam ()
 
static const char * sKeyWinSize ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Attributes

Convolver2D< T > convolver_
 
bool hasudf_
 
Array2DImpl< T > * window_
 
BufferString windowname_
 
float windowparam_
 
int windowsz0_
 
int windowsz1_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run , Pause , Stop }
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Public Attributes inherited from ReportingTask
Notifier< ReportingTaskprogressUpdated
 
- Protected Member Functions inherited from ReportingTask
 ReportingTask (const char *nm=nullptr)
 
void incrementProgress ()
 
ProgressMeterprogressMeter () const
 
void reportProgressFinished ()
 
void reportProgressStarted ()
 
void resetProgress ()
 
void setProgressMeter (ProgressMeter *) override
 Must be called before execute() More...
 
void updateProgressMeter (bool forced=false, std::int64_t *totalnr=0)
 
void updateReportedName ()
 
- Protected Member Functions inherited from Task
 Task (const char *nm=nullptr)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Detailed Description

template<class T>
class Smoother2D< T >

Smoothes a 2d signal with an operator.

<>

Constructor & Destructor Documentation

◆ Smoother2D()

template<class T >
Smoother2D< T >::Smoother2D
inline

◆ ~Smoother2D()

template<class T >
Smoother2D< T >::~Smoother2D
inline

Member Function Documentation

◆ controlWork()

template<class T >
void Smoother2D< T >::controlWork ( Task::Control  var)
inlineoverridevirtual

Reimplemented from Task.

◆ enableWorkControl()

template<class T >
void Smoother2D< T >::enableWorkControl ( bool  )
inlineoverridevirtual

Must be called before execute()

Reimplemented from Task.

◆ execute()

template<class T >
bool Smoother2D< T >::execute
inlineoverridevirtual

Implements Task.

◆ fillPar()

template<class T >
void Smoother2D< T >::fillPar ( IOPar par) const
inline

◆ getState()

template<class T >
Task::Control Smoother2D< T >::getState
inlineoverridevirtual

Reimplemented from Task.

◆ getWindowName()

template<class T >
const char * Smoother2D< T >::getWindowName
inline

◆ getWindowParam()

template<class T >
float Smoother2D< T >::getWindowParam
inline

◆ getWindowSize()

template<class T >
int Smoother2D< T >::getWindowSize ( int  dim) const
inline

◆ setInput()

template<class T >
void Smoother2D< T >::setInput ( const Array2D< T > &  ni,
bool  hasudf 
)
inline

◆ setOutput()

template<class T >
void Smoother2D< T >::setOutput ( Array2D< T > &  no)
inline

◆ setWindow()

template<class T >
bool Smoother2D< T >::setWindow ( const char *  nm,
float  param,
int  sz0,
int  sz1 
)
inline

Must be at least the size of input.

◆ sKeyWinFunc()

template<class T >
static const char* Smoother2D< T >::sKeyWinFunc ( )
inlinestatic

◆ sKeyWinParam()

template<class T >
static const char* Smoother2D< T >::sKeyWinParam ( )
inlinestatic

◆ sKeyWinSize()

template<class T >
static const char* Smoother2D< T >::sKeyWinSize ( )
inlinestatic

◆ usePar()

template<class T >
bool Smoother2D< T >::usePar ( const IOPar par)
inline

Member Data Documentation

◆ convolver_

template<class T >
Convolver2D<T> Smoother2D< T >::convolver_
protected

◆ hasudf_

template<class T >
bool Smoother2D< T >::hasudf_
protected

◆ window_

template<class T >
Array2DImpl<T>* Smoother2D< T >::window_
protected

◆ windowname_

template<class T >
BufferString Smoother2D< T >::windowname_
protected

◆ windowparam_

template<class T >
float Smoother2D< T >::windowparam_
protected

◆ windowsz0_

template<class T >
int Smoother2D< T >::windowsz0_
protected

◆ windowsz1_

template<class T >
int Smoother2D< T >::windowsz1_
protected

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