ACF $AcfVersion:0$
ICalibration2d.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
6#include <imath/IUnitInfo.h>
8
9
10namespace i2d
11{
12
13
14class CRectangle;
15
16
22class ICalibration2d: virtual public ITransformation2d
23{
24public:
31
36 {
40 TF_SUPPORT_COMBINE = 1 << 10
41 };
42
47 virtual const CRectangle* GetArgumentArea() const = 0;
52 virtual const CRectangle* GetResultArea() const = 0;
53
58 virtual const imath::IUnitInfo* GetArgumentUnitInfo() const = 0;
63 virtual const imath::IUnitInfo* GetResultUnitInfo() const = 0;
64
71};
72
73
74} // namespace i2d
75
76
77
78
Definition of rectangle area orthogonal to axis of coordination system.
Definition CRectangle.h:27
Interface for 2D calibration and coordinate transformation with unit information.
virtual const imath::IUnitInfo * GetResultUnitInfo() const =0
Get unit description of calibration output (transformation function result).
virtual const CRectangle * GetResultArea() const =0
Get optional area where results are defined properly.
virtual istd::TUniqueInterfacePtr< i2d::ICalibration2d > CreateCombinedCalibration(const ITransformation2d &transformation) const =0
Create new calibration being combination of this calibration and the second one.
TransformationFlags
Extension of i2d::ITransformation2d::TransformationFlags.
@ TF_SUPPORT_COMBINE
This calibration supports combinating with other calibrations, at least of the same type.
virtual const imath::IUnitInfo * GetArgumentUnitInfo() const =0
Get unit description of calibration input (transformation function argument).
virtual const CRectangle * GetArgumentArea() const =0
Get optional area where arguments are defined properly.
Common interface for all calibration objects.
Common interface to get information about a measurement unit.
Definition IUnitInfo.h:22
Unique ownership smart pointer for interface types.
Contains the 2D objects.
Definition CAffine2d.h:11