CImageInterpolationParamsComp.h
Go to the documentation of this file.
1 #ifndef iipr_CImageInterpolationParamsComp_included
2 #define iipr_CImageInterpolationParamsComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
8 // ACF-Solutions includes
10 
11 
12 namespace iipr
13 {
14 
15 
17 {
18 public:
20 
21  I_BEGIN_COMPONENT(CImageInterpolationParamsComp);
22  I_REGISTER_INTERFACE(iser::ISerializable);
23  I_REGISTER_INTERFACE(IImageInterpolationParams);
24  I_ASSIGN(m_interpolationModeAttrPtr, "InterpolationMode", "Interpolation mode:\n0 - no interpolation\n1 - bilinear\n2 - bicubic", true, 0);
25  I_END_COMPONENT;
26 
27 protected:
28  // reimplemented (icomp::CComponentBase)
29  virtual void OnComponentCreated();
30 
31 private:
32  I_ATTR(int, m_interpolationModeAttrPtr);
33 };
34 
35 
36 } // namespace iipr
37 
38 
39 #endif // !iipr_CImageInterpolationParamsComp_included
40 
41 
Common interace for interpolation parameters.
Common interface for interpolation parameters.

© 2007-2017 Witold Gantzke and Kirill Lepskiy