#include <Resample.h>
|
| | BoxFilter () |
| |
| | BoxFilter (const float width) |
| |
| virtual float | eval (const float x) const |
| | Evaluates the filter at coordinate 't'. More...
|
| |
| virtual float | support () const |
| | Radial width of the filter (half of diameter) More...
|
| |
| virtual float | eval (const float t) const =0 |
| | Evaluates the filter at coordinate 't'. More...
|
| |
| virtual float | initialValue () const |
| | Initial value (zero by default, but need to be different for min/max) More...
|
| |
| virtual float | support () const =0 |
| | Radial width of the filter (half of diameter) More...
|
| |
|
| template<typename Value_T > |
| static void | op (Value_T &accumValue, const Value_T value) |
| |
Definition at line 113 of file Resample.h.
◆ Ptr
◆ CPtr
◆ BoxFilter() [1/2]
◆ BoxFilter() [2/2]
| BoxFilter::BoxFilter |
( |
const float |
width | ) |
|
|
inline |
◆ eval()
| virtual float BoxFilter::eval |
( |
const float |
t | ) |
const |
|
inlinevirtual |
Evaluates the filter at coordinate 't'.
Implements Filter.
Definition at line 129 of file Resample.h.
130 {
132 if (t <= 0.5f) {
133 return 1.0f;
134 } else {
135 return 0.0f;
136 }
137 }
References m_width.
◆ support()
| virtual float BoxFilter::support |
( |
| ) |
const |
|
inlinevirtual |
◆ op()
template<typename Value_T >
| static void BoxFilter::op |
( |
Value_T & |
accumValue, |
|
|
const Value_T |
value |
|
) |
| |
|
inlinestatic |
◆ isAnalytic
| const bool BoxFilter::isAnalytic = false |
|
static |
◆ m_width
| const float BoxFilter::m_width |
|
private |
The documentation for this struct was generated from the following file: