OpendTect-6_4  6.4
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 setInput (const Array3D< T > &)
 
void setOutput (Array3D< T > &)
 
bool setWindow (const char *nm, float param, int sz0, int sz1, int sz2)
 
int getWindowSize (int dim) const
 
const char * getWindowName () const
 
float getWindowParam () const
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
void setProgressMeter (ProgressMeter *pm)
 Must be called before execute() More...
 
bool execute ()
 
void enableWorkControl (bool)
 Must be called before execute() More...
 
void controlWork (Task::Control)
 
Task::Control getState () const
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual int64_t nrDone () const
 
virtual 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 NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

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 ()
 

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 NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Protected Member Functions inherited from Task
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

template<class T>
class Smoother3D< T >

Smoothes a 3d signal with an operator.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from Task.

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

Must be called before execute()

Reimplemented from Task.

template<class T >
bool Smoother3D< T >::execute ( )
inlinevirtual

Implements Task.

template<class T >
void Smoother3D< T >::fillPar ( IOPar par) const
inline
template<class T >
Task::Control Smoother3D< T >::getState ( ) const
inlinevirtual

Reimplemented from Task.

template<class T >
const char * Smoother3D< T >::getWindowName ( ) const
inline
template<class T >
float Smoother3D< T >::getWindowParam ( ) const
inline
template<class T >
int Smoother3D< T >::getWindowSize ( int  dim) const
inline
template<class T>
void Smoother3D< T >::setInput ( const Array3D< T > &  ni)
inline
template<class T>
void Smoother3D< T >::setOutput ( Array3D< T > &  no)
inline
template<class T >
void Smoother3D< T >::setProgressMeter ( ProgressMeter )
inlinevirtual

Must be called before execute()

Reimplemented from Task.

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.

template<class T>
static const char* Smoother3D< T >::sKeyWinFunc ( )
inlinestatic
template<class T>
static const char* Smoother3D< T >::sKeyWinParam ( )
inlinestatic
template<class T>
static const char* Smoother3D< T >::sKeyWinSize ( )
inlinestatic
template<class T >
bool Smoother3D< T >::usePar ( const IOPar par)
inline

Member Data Documentation

template<class T>
Convolver3D<T> Smoother3D< T >::convolver_
protected
template<class T>
Array3DImpl<T> Smoother3D< T >::window_
protected
template<class T>
BufferString Smoother3D< T >::windowname_
protected
template<class T>
float Smoother3D< T >::windowparam_
protected

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