OpendTect  6.3
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 uiString message () const
 
virtual uiString nrDoneText () const
 
virtual int64_t nrDone () const
 
virtual int64_t totalNr () const
 
virtual uiRetVal errorWithDetails () const
 
bool workControlEnabled () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual BufferString getName () const
 
virtual void setName (const char *nm)
 
bool getNameFromPar (const IOPar &)
 
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 stdMessage ()
 
static uiString stdNrDoneText ()
 
- 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
Notifier< NamedCallBackerdelnotif_
 
Threads::Atomic< bool > delalreadytriggered_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

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 NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 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. 2017