ICF 3.1.1.10
Technical documentation of ICF Libraries
CRectDerivativeProcessorComp.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_CRectDerivativeProcessorComp_included
7#define iipr_CRectDerivativeProcessorComp_included
8
9
10// QT includes
11#include <QtCore/QString>
12
13// ICF includes
16
17
18namespace iipr
19{
20
21
26{
27public:
30
31 I_BEGIN_COMPONENT(CRectDerivativeProcessorComp);
32 I_REGISTER_INTERFACE(iproc::IProcessor);
33 I_REGISTER_SUBELEMENT(FilterConstraints);
34 I_REGISTER_SUBELEMENT_INTERFACE(FilterConstraints, imeas::INumericConstraints, ExtractFilterConstraints);
35 I_REGISTER_SUBELEMENT_INTERFACE(FilterConstraints, istd::IChangeable, ExtractFilterConstraints);
36 I_ASSIGN(m_filterParamsIdAttrPtr, "FilterParamsId", "ID of filter parameters in parameter set", true, "FilterParams");
37 I_ASSIGN(m_doublePrecisionAttrPtr, "DoublePrecision", "If set double precision will be used during the calculation", true, false);
38 I_END_COMPONENT;
39
40protected:
41 // reimplemented (icomp::CComponentBase)
42 void OnComponentCreated() override;
43
44private:
45 // static template methods for sub element access
46 template <class InterfaceType>
47 static InterfaceType* ExtractFilterConstraints(CRectDerivativeProcessorComp& component)
48 {
49 return GetFilterConstraints();
50 }
51
52 I_ATTR(QByteArray, m_filterParamsIdAttrPtr);
53 I_ATTR(bool, m_doublePrecisionAttrPtr);
54};
55
56
57} // namespace iipr
58
59
60#endif // !iipr_CRectDerivativeProcessorComp_included
61
62
Base class for component implementation.
Component implementation of derivative processor using rectangular filter kernel.
Calculate derivative of projection using rectangular filter kernel.
static imeas::INumericConstraints * GetFilterConstraints()
Describe additional meta information for set of numeric values.
Interface for all synchrone and asynchrone processors with "push data" model.
Definition IProcessor.h:26
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Contains the image processing classes.

© Witold Gantzke and Kirill Lepskiy