Plasma Engine  2.0
Loading...
Searching...
No Matches
plImageFilterTriangle Class Reference

Triangle filter. More...

#include <ImageFilter.h>

Inheritance diagram for plImageFilterTriangle:

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.
 
- Public Member Functions inherited from plImageFilter
plSimdFloat GetWidth () const
 Returns the width of the filter; outside of the interval [-width, width], the filter function is always zero.
 

Additional Inherited Members

- Protected Member Functions inherited from plImageFilter
 plImageFilter (float width)
 

Detailed Description

Triangle filter.

Member Function Documentation

◆ SamplePoint()

plSimdFloat plImageFilterTriangle::SamplePoint ( const plSimdFloat & x) const
overridevirtual

Samples the filter function at a single point. Note that the distribution isn't necessarily normalized.

Implements plImageFilter.


The documentation for this class was generated from the following files: