![]() |
Plasma Engine
2.0
|
Triangle filter. More...
#include <ImageFilter.h>
Public Member Functions | |
plImageFilterTriangle (float fWidth=1.0f) | |
virtual plSimdFloat | SamplePoint (const plSimdFloat &x) const override |
Samples the filter function at a single point. Note that the distribution isn't necessarily normalized. | |
![]() | |
plSimdFloat | GetWidth () const |
Returns the width of the filter; outside of the interval [-width, width], the filter function is always zero. | |
Additional Inherited Members | |
![]() | |
plImageFilter (float width) | |
Triangle filter.
|
overridevirtual |
Samples the filter function at a single point. Note that the distribution isn't necessarily normalized.
Implements plImageFilter.