GoWebScan API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
GoWebScanCalNode.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanCalNode.h
3 * @brief Declares a GoWebScanCalNode object.
4 *
5 * @internal
6 * Copyright (C) 2017-2021 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 
11 #ifndef GO_WEB_SCAN_CAL_NODE_H
12 #define GO_WEB_SCAN_CAL_NODE_H
13 
15 
16 /**
17 * @class GoWebScanCalNode
18 * @extends kObject
19 * @ingroup GoWebScanSdk-Calibration
20 * @brief Represents a container for node-level system calibration data. Refer to GoWebScanCal
21 * for a description of system calibration.
22 * @see GoWebScanCal
23 */
25 
26 // Forward declaration
27 typedef kObject GoWebScanCal;
28 
29 /**
30  * Constructs a GoWebScanCalNode object.
31  *
32  * @public @memberof GoWebScanCalNode
33  * @param node Receives the constructed GoWebScanCalNode object.
34  * @param cal System calibration object that the node is part of.
35  * @param allocator Memory allocator (or kNULL for default).
36  * @return Operation status.
37  */
38 GoWebScanFx(kStatus) GoWebScanCalNode_Construct(GoWebScanCalNode* node, GoWebScanCal cal, kAlloc allocator);
39 
40 /**
41  * Gets the system plane the node is located in.
42  *
43  * @public @memberof GoWebScanCalNode
44  * @param node GoWebScanCalNode object.
45  * @return System plane.
46  */
48 
49 /**
50 * Gets the column the node is located in.
51 *
52 * @public @memberof GoWebScanCalNode
53 * @param node GoWebScanCalNode object.
54 * @return Column index of node.
55 * @see GoWebScanConfigNode_Column
56 */
58 
59 /**
60 * Gets the sensor ID of the node. For systems with vision sensors, this will be the ID
61 * of the connected profile sensor.
62 *
63 * @public @memberof GoWebScanCalNode
64 * @param node GoWebScanCalNode object.
65 * @return Device ID of node.
66 */
68 
69 /**
70 * Gets the bank ID of the node. This is the index with respect to the sensor.
71 *
72 * @public @memberof GoWebScanCalNode
73 * @param node GoWebScanCalNode object.
74 * @return Bank ID of node.
75 */
77 
78 /**
79  * Sets the X offset of the node in mils. This is only used when detection of locators is
80  * enabled during vision calibration, otherwise the offset is 0.
81  *
82  * @public @memberof GoWebScanCalNode
83  * @param node GoWebScanCalNode object.
84  * @param xOffset X offset (mils).
85  * @return Operation status.
86  */
87 GoWebScanFx(kStatus) GoWebScanCalNode_SetXOffset(GoWebScanCalNode node, k32s xOffset);
88 
89 /**
90 * Gets the X offset of the node in mils. This is only used when detection of locators is
91 * enabled during vision calibration, otherwise the offset is 0.
92 *
93 * @public @memberof GoWebScanCalNode
94 * @param node GoWebScanCalNode object.
95 * @return X offset (mils).
96 */
98 
99 /**
100  * Gets a pointer to the array of profile Y offsets, which represents alignment offsets in Y per
101  * spot.
102  *
103  * @public @memberof GoWebScanCalNode
104  * @param node GoWebScanCalNode object.
105  * @return Pointer to the array of profile Y offsets. Type k32s.
106  */
108 
109 /**
110 * Gets a pointer to the array of profile Z offsets, which represents alignment offsets in Z per
111 * spot.
112 *
113 * @public @memberof GoWebScanCalNode
114 * @param node GoWebScanCalNode object.
115 * @return Pointer to the array of profile Z offsets. Type k16s.
116 */
118 
119 /**
120 * Gets a pointer to the array of vision Y offsets, which represents alignment offsets in Y per
121 * column of the vision image.
122 *
123 * @public @memberof GoWebScanCalNode
124 * @param node GoWebScanCalNode object.
125 * @return Pointer to the array of vision Y offsets. Type k32s.
126 */
128 
129 /**
130 * Gets a pointer to the array of vision red gains, which represent correction gains to produce
131 * a balanced white image. Gains are for each pixel of the vision image.
132 *
133 * @public @memberof GoWebScanCalNode
134 * @param node GoWebScanCalNode object.
135 * @return Pointer to the array of vision red gains. Type k64f.
136 */
138 
139 /**
140 * Gets a pointer to the array of vision green gains, which represent correction gains to produce
141 * a balanced white image. Gains are for each pixel of the vision image.
142 *
143 * @public @memberof GoWebScanCalNode
144 * @param node GoWebScanCalNode object.
145 * @return Pointer to the array of vision green gains. Type k64f.
146 */
148 
149 /**
150 * Gets a pointer to the array of vision blue gains, which represent correction gains to produce
151 * a balanced white image. Gains are for each pixel of the vision image.
152 *
153 * @public @memberof GoWebScanCalNode
154 * @param node GoWebScanCalNode object.
155 * @return Pointer to the array of vision blue gains. Type k64f.
156 */
158 
159 /**
160  * Gets the color filter array type of the node (for vision only).
161  *
162  * @public @memberof GoWebScanCalNode
163  * @param node GoWebScanCalNode object.
164  * @return Color filter array type.
165  */
166 GoWebScanFx(kCfa) GoWebScanCalNode_Cfa(GoWebScanCalNode node);
167 
168 /**
169  * Sets the color filter array type of the node (for vision only).
170  *
171  * @public @memberof GoWebScanCalNode
172  * @param node GoWebScanCalNode object.
173  * @param cfa Color filter array type.
174  * @return Operation status.
175  */
176 GoWebScanFx(kStatus) GoWebScanCalNode_SetCfa(GoWebScanCalNode node, kCfa cfa);
177 
178 #include <GoWebScanSdk/GoWebScanCalNode.x.h>
179 
180 #endif
kCfa GoWebScanCalNode_Cfa(GoWebScanCalNode node)
Gets the color filter array type of the node (for vision only).
kArray2 * GoWebScanCalNode_VisionBGains(GoWebScanCalNode node)
Gets a pointer to the array of vision blue gains, which represent correction gains to produce a balan...
k32s GoWebScanCalNode_BankId(GoWebScanCalNode node)
Gets the bank ID of the node.
k32s GoWebScanCalNode_XOffset(GoWebScanCalNode node)
Gets the X offset of the node in mils.
k32s GoWebScanCalNode_Column(GoWebScanCalNode node)
Gets the column the node is located in.
Essential GoWebScan declarations.
kArray2 * GoWebScanCalNode_VisionRGains(GoWebScanCalNode node)
Gets a pointer to the array of vision red gains, which represent correction gains to produce a balanc...
kStatus GoWebScanCalNode_SetXOffset(GoWebScanCalNode node, k32s xOffset)
Sets the X offset of the node in mils.
kArray2 * GoWebScanCalNode_VisionGGains(GoWebScanCalNode node)
Gets a pointer to the array of vision green gains, which represent correction gains to produce a bala...
k32s GoWebScanCalNode_DeviceId(GoWebScanCalNode node)
Gets the sensor ID of the node.
kStatus GoWebScanCalNode_SetCfa(GoWebScanCalNode node, kCfa cfa)
Sets the color filter array type of the node (for vision only).
Represents a container for node-level system calibration data. Refer to GoWebScanCal for a descriptio...
kStatus GoWebScanCalNode_Construct(GoWebScanCalNode *node, GoWebScanCal cal, kAlloc allocator)
Constructs a GoWebScanCalNode object.
GoWebScanSystemPlane GoWebScanCalNode_Plane(GoWebScanCalNode node)
Gets the system plane the node is located in.
Represents the top or bottom plane of the system.
Represents a container for the system calibration. The system calibration corrects for mounting diffe...
kArray1 * GoWebScanCalNode_ProfileZOffsets(GoWebScanCalNode node)
Gets a pointer to the array of profile Z offsets, which represents alignment offsets in Z per spot...
kArray1 * GoWebScanCalNode_VisionYOffsets(GoWebScanCalNode node)
Gets a pointer to the array of vision Y offsets, which represents alignment offsets in Y per column o...
kArray1 * GoWebScanCalNode_ProfileYOffsets(GoWebScanCalNode node)
Gets a pointer to the array of profile Y offsets, which represents alignment offsets in Y per spot...