OpendTect  7.0
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 override
 
float getVariable () const override
 
bool hasVariable () const override
 
bool isAcceptableVariable (float) const override
 
const char * name () const override
 
bool setVariable (float) override
 
const char * variableName () const override
 
- Public Member Functions inherited from WindowFunction
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from MathFunction< RT, PT >
RT getNDValue (const PT *pos) const override
 
int getNrDim () const override
 
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
override

◆ getVariable()

float CosTaperWindow::getVariable ( ) const
inlineoverridevirtual

Reimplemented from WindowFunction.

◆ hasVariable()

bool CosTaperWindow::hasVariable ( ) const
inlineoverridevirtual

Reimplemented from WindowFunction.

◆ initClass()

static void CosTaperWindow::initClass ( )
static

◆ isAcceptableVariable()

bool CosTaperWindow::isAcceptableVariable ( float  ) const
overridevirtual

Reimplemented from WindowFunction.

◆ isLegacyTaper()

static bool CosTaperWindow::isLegacyTaper ( const BufferString )
static

◆ name()

const char* CosTaperWindow::name ( ) const
inlineoverridevirtual

Implements WindowFunction.

◆ setVariable()

bool CosTaperWindow::setVariable ( float  )
overridevirtual

Reimplemented from WindowFunction.

◆ sName()

static const char* CosTaperWindow::sName ( )
inlinestatic

◆ variableName()

const char* CosTaperWindow::variableName ( ) const
inlineoverridevirtual

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-2024