HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_Filter Class Referencefinal

#include <CL_Filter.h>

+ Inheritance diagram for CL_Filter:

Public Member Functions

 CL_Filter (int size, int overlap)
 
 CL_Filter (UT_IStream &is)
 
 ~CL_Filter () override
 
void setFilter (fpreal *filter, fpreal *phase=nullptr)
 
void reset (fpreal val=0.0) override
 
int maxFilterSamples () override
 
- Public Member Functions inherited from CL_SlidingWindow
 CL_SlidingWindow (int size, int overlap)
 
 CL_SlidingWindow (UT_IStream &is)
 
virtual ~CL_SlidingWindow ()
 
void filterSamples (int n, const fpreal *source, fpreal *dest)
 
void shiftSamples (int nsource, const fpreal *source, int ndest, fpreal *dest, int shift)
 
void setOverlap (int overlap)
 
void resize (int size, int preserve=0)
 
virtual void save (UT_OStream &os)
 
virtual bool load (UT_IStream &is, int version)
 

Additional Inherited Members

- Protected Attributes inherited from CL_SlidingWindow
int myWindowSize
 
int myOverlap
 
int myLastFilteredSample
 
fprealmyPreviousData
 
fprealmyMirrorData
 

Detailed Description

Definition at line 24 of file CL_Filter.h.

Constructor & Destructor Documentation

CL_Filter::CL_Filter ( int  size,
int  overlap 
)
CL_Filter::CL_Filter ( UT_IStream is)
CL_Filter::~CL_Filter ( )
override

Member Function Documentation

int CL_Filter::maxFilterSamples ( )
overridevirtual

Reimplemented from CL_SlidingWindow.

void CL_Filter::reset ( fpreal  val = 0.0)
overridevirtual

Reimplemented from CL_SlidingWindow.

void CL_Filter::setFilter ( fpreal filter,
fpreal phase = nullptr 
)

The documentation for this class was generated from the following file: