The spica renderer
box.h
1 #ifdef _MSC_VER
2 #pragma once
3 #endif
4 
5 #ifndef _SPICA_BOX_H_
6 #define _SPICA_BOX_H_
7 
8 #include "core/common.h"
9 #include "core/filter.h"
10 #include "core/renderparams.h"
11 
12 namespace spica {
13 
14 class SPICA_EXPORTS BoxFilter : public Filter {
15 public:
16  BoxFilter();
17  explicit BoxFilter(RenderParams &params);
18  explicit BoxFilter(const Vector2d& radius);
19 
20  BoxFilter(const BoxFilter&) = default;
21  ~BoxFilter();
22 
23  BoxFilter& operator=(const BoxFilter&) = default;
24 
25  double evaluate(const Point2d& p) const override;
26 };
27 
28 SPICA_EXPORT_PLUGIN(BoxFilter, "Box reconstruction filter");
29 
30 } // namespace spica
31 
32 #endif // _SPICA_BOX_H_
Definition: filter.h:15
Definition: renderparams.h:27
Definition: box.h:14