#include <Resample.h>
|
| virtual float | eval (const float x) const |
| | 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...
|
| |
| | MaxFilter () |
| |
| | MaxFilter (const float width) |
| |
| 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 T > |
| static void | op (Imath::Vec3< T > &accumValue, const Imath::Vec3< T > value) |
| |
| template<typename Value_T > |
| static void | op (Value_T &accumValue, const Value_T value) |
| |
Definition at line 209 of file Resample.h.
◆ Ptr
◆ CPtr
◆ MaxFilter() [1/2]
◆ MaxFilter() [2/2]
| MaxFilter::MaxFilter |
( |
const float |
width | ) |
|
|
inline |
◆ eval()
| virtual float MaxFilter::eval |
( |
const float |
t | ) |
const |
|
inlinevirtual |
Evaluates the filter at coordinate 't'.
Implements Filter.
Definition at line 225 of file Resample.h.
226 {
228 if (t <= 0.5f) {
229 return 1.0f;
230 } else {
231 return 0.0f;
232 }
233 }
References m_width.
◆ support()
| virtual float MaxFilter::support |
( |
| ) |
const |
|
inlinevirtual |
◆ initialValue()
| virtual float MaxFilter::initialValue |
( |
| ) |
const |
|
inlinevirtual |
Initial value (zero by default, but need to be different for min/max)
Reimplemented from Filter.
Definition at line 238 of file Resample.h.
239 {
241 }
T max(const T a, const T2 b)
Max operation on mixed types.
References detail::max().
◆ op() [1/2]
template<typename T >
| static void MaxFilter::op |
( |
Imath::Vec3< T > & |
accumValue, |
|
|
const Imath::Vec3< T > |
value |
|
) |
| |
|
inlinestatic |
◆ op() [2/2]
template<typename Value_T >
| static void MaxFilter::op |
( |
Value_T & |
accumValue, |
|
|
const Value_T |
value |
|
) |
| |
|
inlinestatic |
◆ isAnalytic
| const bool MaxFilter::isAnalytic = true |
|
static |
◆ m_width
| const float MaxFilter::m_width |
|
private |
The documentation for this struct was generated from the following file: