ICF 3.0.5.47
Technical documentation of ICF Libraries
CImageInterpolationParamsComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iipr_CImageInterpolationParamsComp_included
7#define iipr_CImageInterpolationParamsComp_included
8
9
10// ICF includes
13
14
15namespace iipr
16{
17
18
20{
21public:
23
24 I_BEGIN_COMPONENT(CImageInterpolationParamsComp);
25 I_REGISTER_INTERFACE(iser::ISerializable);
26 I_REGISTER_INTERFACE(IImageInterpolationParams);
27 I_ASSIGN(m_interpolationModeAttrPtr, "InterpolationMode", "Interpolation mode:\n0 - no interpolation\n1 - bilinear\n2 - bicubic", true, 0);
28 I_END_COMPONENT;
29
30protected:
31 // reimplemented (icomp::CComponentBase)
32 void OnComponentCreated() override;
33
34private:
35 I_ATTR(int, m_interpolationModeAttrPtr);
36};
37
38
39} // namespace iipr
40
41
42#endif // !iipr_CImageInterpolationParamsComp_included
43
44
Base class for component implementation.
Common interace for interpolation parameters.
Common interface for interpolation parameters.
Common class for all classes which objects can be archived or restored from archive.
Contains the image processing classes.

© Witold Gantzke and Kirill Lepskiy