Skip to content

src/core/filter.h

Namespaces

Name
dakku
dakku namespace

Classes

Name
class dakku::Filter

Source code

#ifndef DAKKU_CORE_FILTER_H_
#define DAKKU_CORE_FILTER_H_
#include <core/vector.h>

namespace dakku {

class DAKKU_EXPORT_CORE Filter {
 public:
  explicit Filter(const Vector2f &radius);

  [[nodiscard]] virtual float evaluate(const Point2f &p) const = 0;

  const Vector2f radius;
  const Vector2f inv_radius;
};
}  // namespace dakku
#endif

Updated on 2022-04-30 at 15:46:11 +0000