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

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

Inheritance diagram for Smoother3D< T >:
[legend]

Public Member Functions

 Smoother3D ()
 
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 Array3D< T > &)
 
void setOutput (Array3D< T > &)
 
bool setWindow (const char *nm, float param, int sz0, int sz1, int sz2)
 
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

Convolver3D< T > convolver_
 
Array3DImpl< T > window_
 
BufferString windowname_
 
float windowparam_
 
- 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 Smoother3D< T >

Smoothes a 3d signal with an operator.

<>

Constructor & Destructor Documentation

◆ Smoother3D()

template<class T >
Smoother3D< T >::Smoother3D
inline

Member Function Documentation

◆ controlWork()

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

Reimplemented from Task.

◆ enableWorkControl()

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

Must be called before execute()

Reimplemented from Task.

◆ execute()

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

Implements Task.

◆ fillPar()

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

◆ getState()

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

Reimplemented from Task.

◆ getWindowName()

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

◆ getWindowParam()

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

◆ getWindowSize()

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

◆ setInput()

template<class T >
void Smoother3D< T >::setInput ( const Array3D< T > &  ni)
inline

◆ setOutput()

template<class T >
void Smoother3D< T >::setOutput ( Array3D< T > &  no)
inline

◆ setWindow()

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

Must be at least the size of input.

◆ sKeyWinFunc()

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

◆ sKeyWinParam()

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

◆ sKeyWinSize()

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

◆ usePar()

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

Member Data Documentation

◆ convolver_

template<class T >
Convolver3D<T> Smoother3D< T >::convolver_
protected

◆ window_

template<class T >
Array3DImpl<T> Smoother3D< T >::window_
protected

◆ windowname_

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

◆ windowparam_

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

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