OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
CosTaperWindow Class Reference

Tapered Cosine Window Function. More...

Inheritance diagram for CosTaperWindow:
[legend]

Public Member Functions

 CosTaperWindow ()
 
float getValue (const float *x) const
 
float getValue (float) const
 
float getVariable () const
 
bool hasVariable () const
 
bool isAcceptableVariable (float) const
 
const char * name () const
 
bool setVariable (float)
 
const char * variableName () const
 
- Public Member Functions inherited from WindowFunction
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from MathFunction< RT, PT >
virtual RT getNDValue (const PT *pos) const
 
virtual int getNrDim () const
 
virtual RT getValue (PT) const =0
 
- Public Member Functions inherited from MathFunctionND< RT, PT >
virtual ~MathFunctionND ()
 

Static Public Member Functions

static WindowFunctioncreate ()
 
static float getLegacyTaperVariable (const BufferString &)
 
static void initClass ()
 
static bool isLegacyTaper (const BufferString &)
 
static const char * sName ()
 
- Static Public Member Functions inherited from WindowFunction
static void addAllStdClasses ()
 
static bool hasVariable (const BufferString &wintyp)
 
static const char * sKeyTaperVal ()
 
static const char * sKeyVariable ()
 

Protected Attributes

float factor_
 
float threshold_
 

Detailed Description

Tapered Cosine Window Function.

<>

Constructor & Destructor Documentation

◆ CosTaperWindow()

CosTaperWindow::CosTaperWindow ( )

Member Function Documentation

◆ create()

static WindowFunction* CosTaperWindow::create ( )
inlinestatic

◆ getLegacyTaperVariable()

static float CosTaperWindow::getLegacyTaperVariable ( const BufferString )
static

◆ getValue() [1/2]

float CosTaperWindow::getValue ( const float *  x) const
inline

◆ getValue() [2/2]

float CosTaperWindow::getValue ( float  ) const

◆ getVariable()

float CosTaperWindow::getVariable ( ) const
inlinevirtual

Reimplemented from WindowFunction.

◆ hasVariable()

bool CosTaperWindow::hasVariable ( ) const
inlinevirtual

Reimplemented from WindowFunction.

◆ initClass()

static void CosTaperWindow::initClass ( )
static

◆ isAcceptableVariable()

bool CosTaperWindow::isAcceptableVariable ( float  ) const
virtual

Reimplemented from WindowFunction.

◆ isLegacyTaper()

static bool CosTaperWindow::isLegacyTaper ( const BufferString )
static

◆ name()

const char* CosTaperWindow::name ( ) const
inlinevirtual

Implements WindowFunction.

◆ setVariable()

bool CosTaperWindow::setVariable ( float  )
virtual

Reimplemented from WindowFunction.

◆ sName()

static const char* CosTaperWindow::sName ( )
inlinestatic

◆ variableName()

const char* CosTaperWindow::variableName ( ) const
inlinevirtual

Reimplemented from WindowFunction.

Member Data Documentation

◆ factor_

float CosTaperWindow::factor_
protected

◆ threshold_

float CosTaperWindow::threshold_
protected

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