40 I_REGISTER_SUBELEMENT(CheckboardParamContraints);
42 I_REGISTER_SUBELEMENT_INTERFACE(CheckboardParamContraints,
istd::IChangeable, ExtractCheckboardParamContraints);
43 I_ASSIGN(m_bitmapProviderCompPtr,
"BitmapProvider",
"Provide input image",
true,
"BitmapProvider");
44 I_ASSIGN_TO(m_bitmapProviderModelCompPtr, m_bitmapProviderCompPtr,
false);
45 I_ASSIGN_TO(m_bitmapProviderSupplierCompPtr, m_bitmapProviderCompPtr,
false);
46 I_ASSIGN(m_lineFinderCompPtr,
"LineFinder",
"Finder of lines on image",
true,
"LineFinder");
47 I_ASSIGN(m_checkboardParamsId,
"CheckboardParamsId",
"ID of checkboard parameters in parameter set (type imeas::INumericValue):\n1\t1. grid size\n\t2. cell size in logical units",
false,
"CheckboardParams");
48 I_ASSIGN(m_defaultCheckboardParamsCompPtr,
"DefaultCheckboardParams",
"Default parameter controlling size of single checkboard cell when it is not defined in parameter set:\n1\t1. grid size\n\t2. cell size in logical units",
false,
"DefaultCheckboardParams");
49 I_ASSIGN(m_axisXParamIdAttrPtr,
"AxisXParamId",
"ID of axis X template in parameter set (type i2d::CLine2d), it is used to coarse knowing direction of X axis",
false,
"AxisX");
50 I_ASSIGN(m_defaultAxisXParamCompPtr,
"DefaultAxisXParam",
"Default parameter controlling axis X template, it is used to coarse knowing direction of X axis",
false,
"DefaultAxisXParam");
51 I_ASSIGN(m_axisYParamIdAttrPtr,
"AxisYParamId",
"ID of axis Y template in parameter set (type i2d::CLine2d), it is used to coarse knowing direction of Y axis",
false,
"AxisY");
52 I_ASSIGN(m_defaultAxisYParamCompPtr,
"DefaultAxisYParam",
"Default parameter controlling axis Y template, it is used to coarse knowing direction of Y axis",
false,
"DefaultAxisYParam");
53 I_ASSIGN(m_distanceUnitInfoCompPtr,
"DistanceUnitInfo",
"Information about used distance units",
false,
"DistanceUnitInfo");
54 I_ASSIGN(m_defaultGridSizeAttrPtr,
"DefaultGridSize",
"Default size of grid if no checkboard parameters specified",
true, 8);
55 I_ASSIGN(m_defaultCellSizeAttrPtr,
"DefaultCellSize",
"Default size of single cell (in logical units) if no checkboard parameters specified",
true, 10);
118 I_ATTR(QByteArray, m_checkboardParamsId);
120 I_ATTR(QByteArray, m_axisXParamIdAttrPtr);
122 I_ATTR(QByteArray, m_axisYParamIdAttrPtr);
125 I_ATTR(
int, m_defaultGridSizeAttrPtr);
126 I_ATTR(
double, m_defaultCellSizeAttrPtr);
129 template <
class InterfaceType>
132 return &component.m_checkboardParamContraints;
135 ChessboardParamsContraints m_checkboardParamContraints;