XII Release 0.1.0
Loading...
Searching...
No Matches
xiiImageFilterTriangle Class Reference

Triangle filter. More...

#include <ImageFilter.h>

Inheritance diagram for xiiImageFilterTriangle:
[legend]

Public Member Functions

 xiiImageFilterTriangle (float fWidth=1.0f)
virtual xiiSimdFloat SamplePoint (const xiiSimdFloat &x) const override
 Samples the filter function at a single point. Note that the distribution isn't necessarily normalized.
Public Member Functions inherited from xiiImageFilter
xiiSimdFloat 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 xiiImageFilter
 xiiImageFilter (float fWidth)

Detailed Description

Triangle filter.

Member Function Documentation

◆ SamplePoint()

xiiSimdFloat xiiImageFilterTriangle::SamplePoint ( const xiiSimdFloat & x) const
overridevirtual

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

Implements xiiImageFilter.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Texture/Image/ImageFilter.h
  • /home/runner/work/XII/XII/Source/Engine/Texture/Image/Implementation/ImageFilter.cpp