vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
|
structure to hold specifications for an iir_filter object. This set of parameters has to be passed through from the calling code through the multithreading code to the worker threads where the filter objects are finally constructed. Rather than passing the parameters via some variadic mechanism, it's more concise and expressive to contain them in a structure and pass that around. The filter itself inherits its specification type, and if the code knows the handler's type, it can derive the spec type. This way the argument passing can be formalized, allowing for uniform handling of several different filter types with the same code. Here we have the concrete parameter set needed for b-spline prefiltering. We'll pass one set of 'specs' per axis; it contains: More...
#include <prefilter.h>
Public Member Functions | |
iir_filter_specs (vspline::bc_code _bc, int _npoles, const xlf_type *_pole, xlf_type _tolerance, xlf_type _boost=xlf_type(1)) | |
Public Attributes | |
vspline::bc_code | bc |
int | npoles |
const xlf_type * | pole |
xlf_type | tolerance |
xlf_type | boost |
structure to hold specifications for an iir_filter object. This set of parameters has to be passed through from the calling code through the multithreading code to the worker threads where the filter objects are finally constructed. Rather than passing the parameters via some variadic mechanism, it's more concise and expressive to contain them in a structure and pass that around. The filter itself inherits its specification type, and if the code knows the handler's type, it can derive the spec type. This way the argument passing can be formalized, allowing for uniform handling of several different filter types with the same code. Here we have the concrete parameter set needed for b-spline prefiltering. We'll pass one set of 'specs' per axis; it contains:
Definition at line 162 of file prefilter.h.
|
inline |
Definition at line 170 of file prefilter.h.
vspline::bc_code vspline::iir_filter_specs::bc |
Definition at line 164 of file prefilter.h.
xlf_type vspline::iir_filter_specs::boost |
Definition at line 168 of file prefilter.h.
int vspline::iir_filter_specs::npoles |
Definition at line 165 of file prefilter.h.
const xlf_type* vspline::iir_filter_specs::pole |
Definition at line 166 of file prefilter.h.
xlf_type vspline::iir_filter_specs::tolerance |
Definition at line 167 of file prefilter.h.