GoWebScan API
GoWebScanProfileTileMsg.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanProfileTileMsg.h
3 * @brief Declares a GoWebScanProfileTileMsg object.
4 *
5 * @internal
6 * Copyright (C) 2017-2026 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 #ifndef GO_SCANNER_PROFILE_TILE_MSG_H
11 #define GO_SCANNER_PROFILE_TILE_MSG_H
12 
15 
16 /**
17 * @class GoWebScanProfileTileMsg
18 * @extends GoWebScanPipeMsg
19 * @ingroup GoWebScanSdk-Messages
20 * @brief Represents a message containing a tile of X and Y resampled profile Z data. This
21 * message can be used to represent data from a single node in the system, data
22 * from a plane in the system (after merging resampled data from all nodes in a plane),
23 * or data from a detected board.
24 *
25 */
27 
28 /**
29 * Constructs a GoWebScanProfileTileMsg object.
30 *
31 * @public @memberof GoWebScanProfileTileMsg
32 * @param msg Receives the constructed GoWebScanProfileTileMsg object.
33 * @param count Length of tile in Y-axis (pixels).
34 * @param width Length of tile in X-axis (pixels).
35 * @param pool Message pool of GoWebScanProfileTileMsg objects
36 * @param allocator Memory allocator (or kNULL for default).
37 * @return Operation status.
38 */
40 
41 /**
42 * Destroys a GoWebScanProfileTileMsg object.
43 *
44 * @public @memberof GoWebScanProfileTileMsg
45 * @param msg GoWebScanProfileTileMsg object.
46 * @return Operation status.
47 */
49 
50 /**
51 * Resizes a GoWebScanProfileTileMsg object.
52 *
53 * @public @memberof GoWebScanProfileTileMsg
54 * @param msg GoWebScanProfileTileMsg object.
55 * @param count Length of tile in Y-axis (pixels).
56 * @param width Length of tile in X-axis (pixels).
57 * @return Operation status.
58 */
60 
61 /**
62 * Gets the size, in bytes, of the message data buffer.
63 *
64 * @public @memberof GoWebScanProfileTileMsg
65 * @param msg GoWebScanProfileTileMsg object.
66 * @return Message data buffer size (bytes).
67 */
69 
70 /**
71 * Gets length of the tile in the Y-axis (pixels).
72 *
73 * @public @memberof GoWebScanProfileTileMsg
74 * @param msg GoWebScanProfileTileMsg object.
75 * @return Message count.
76 */
78 
79 /**
80 * Gets length of the tile in the X-axis (pixels).
81 *
82 * @public @memberof GoWebScanProfileTileMsg
83 * @param msg GoWebScanProfileTileMsg object.
84 * @return Message width.
85 */
87 
88 /**
89 * Gets the inputs corresponding to each row of the tile.
90 *
91 * @public @memberof GoWebScanProfileTileMsg
92 * @param msg GoWebScanProfileTileMsg object.
93 * @return Array of inputs. Type k64s.
94 */
96 
97 /**
98 * Gets the input at a specified row.
99 *
100 * @public @memberof GoWebScanProfileTileMsg
101 * @param msg GoWebScanProfileTileMsg object.
102 * @param rowIndex Row index.
103 * @return Input at specified row.
104 */
106 
107 /**
108 * Gets the tile data array.
109 *
110 * @public @memberof GoWebScanProfileTileMsg
111 * @param msg GoWebScanProfileTileMsg object.
112 * @return Message data array. Type k16s.
113 */
115 
116 /**
117 * Gets a pointer to the start of a tile row.
118 *
119 * @public @memberof GoWebScanProfileTileMsg
120 * @param msg GoWebScanProfileTileMsg object.
121 * @param rowIndex Row index.
122 * @return Pointer to start of row.
123 */
125 
126 #include <GoWebScanSdk/GoWebScanProfileTileMsg.x.h>
127 
128 #endif
129 
kArray1 GoWebScanProfileTileMsg_Inputs(GoWebScanProfileTileMsg msg)
Gets the inputs corresponding to each row of the tile.
Declares the GoWebScanPipeMsg class.
Essential GoWebScan declarations.
k64s * GoWebScanProfileTileMsg_InputsAt(GoWebScanProfileTileMsg msg, kSize rowIndex)
Gets the input at a specified row.
k16s * GoWebScanProfileTileMsg_DataAt(GoWebScanProfileTileMsg msg, kSize rowIndex)
Gets a pointer to the start of a tile row.
kStatus GoWebScanProfileTileMsg_Resize(GoWebScanProfileTileMsg msg, kSize count, kSize width)
Resizes a GoWebScanProfileTileMsg object.
kStatus GoWebScanProfileTileMsg_Construct(GoWebScanProfileTileMsg *msg, kSize count, kSize width, GoWebScanPipeMsgPool pool, kAlloc allocator)
Constructs a GoWebScanProfileTileMsg object.
Represents a message containing a tile of X and Y resampled profile Z data. This message can be used ...
kSize GoWebScanProfileTileMsg_Width(GoWebScanProfileTileMsg msg)
Gets length of the tile in the X-axis (pixels).
kSize GoWebScanProfileTileMsg_Count(GoWebScanProfileTileMsg msg)
Gets length of the tile in the Y-axis (pixels).
Represents a pool of GoWebScanPipeMsg objects. The pool allocates GoWebScanPipeMsg objects with a def...
Base class for a msg that can be processed with a GoWebScanPipeTask and submitted to the GoWebScanPip...
kSize GoWebScanProfileTileMsg_Size(GoWebScanProfileTileMsg msg)
Gets the size, in bytes, of the message data buffer.
kArray2 GoWebScanProfileTileMsg_Data(GoWebScanProfileTileMsg msg)
Gets the tile data array.
kStatus GoWebScanProfileTileMsg_Destroy(GoWebScanProfileTileMsg msg)
Destroys a GoWebScanProfileTileMsg object.