Murl::IFilter Interface Referenceabstract
The filter interface. More...
#include "murl_i_filter.h"
Inheritance diagram for Murl::IFilter:
Public Member Functions | |
virtual | ~IFilter () |
The destructor. | |
virtual Double | GetWidth () const =0 |
Get the filter width. More... | |
virtual void | SetWidth (Double width)=0 |
Set the filter width. More... | |
virtual Double | Apply (Double dValH) const =0 |
Apply the filter horizontally. More... | |
virtual Double | Apply (Double dValH, Double dValV) const =0 |
Apply the filter horizontally and vertically. More... | |
Detailed Description
The filter interface.
Member Function Documentation
◆ GetWidth()
|
pure virtual |
◆ SetWidth()
|
pure virtual |
◆ Apply() [1/2]
Apply the filter horizontally.
- Parameters
-
dValH The horizontal distance in range [-filterWidth .. filterWidth].
- Returns
- The filtered value or zero if distance is out of range.
Implemented in Murl::Util::GaussianFilter, Murl::Util::BilinearFilter, and Murl::Util::BoxFilter.
◆ Apply() [2/2]
Apply the filter horizontally and vertically.
- Parameters
-
dValH The horizontal distance in range [-filterWidth .. filterWidth]. dValV The vertical distance in range [-filterWidth .. filterWidth].
- Returns
- The filtered value or zero if any distance is out of range.
Implemented in Murl::Util::GaussianFilter, Murl::Util::BilinearFilter, and Murl::Util::BoxFilter.
The documentation for this interface was generated from the following file:
- murl_i_filter.h