#include <Resample.h>
|
| 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...
|
| |
| | TriangleFilter () |
| |
| | TriangleFilter (const float width) |
| |
| 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 &, const Value_T) |
| |
Definition at line 266 of file Resample.h.
◆ Ptr
◆ CPtr
◆ TriangleFilter() [1/2]
| TriangleFilter::TriangleFilter |
( |
| ) |
|
|
inline |
◆ TriangleFilter() [2/2]
| TriangleFilter::TriangleFilter |
( |
const float |
width | ) |
|
|
inline |
◆ eval()
| virtual float TriangleFilter::eval |
( |
const float |
t | ) |
const |
|
inlinevirtual |
Evaluates the filter at coordinate 't'.
Implements Filter.
Definition at line 282 of file Resample.h.
283 {
285 if (t > 1.0) {
286 return 0.0f;
287 }
288 return 1.0f - t;
289 }
References m_width.
◆ support()
| virtual float TriangleFilter::support |
( |
| ) |
const |
|
inlinevirtual |
◆ op()
template<typename Value_T >
| static void TriangleFilter::op |
( |
Value_T & |
, |
|
|
const |
Value_T |
|
) |
| |
|
inlinestatic |
◆ isAnalytic
| const bool TriangleFilter::isAnalytic = false |
|
static |
◆ m_width
| const float TriangleFilter::m_width |
|
private |
The documentation for this struct was generated from the following file: