GoWebScan API
GoWebScanTracheidInputMsg.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanTracheidInputMsg.h
3 * @brief Declares a GoWebScanTracheidInputMsg 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_TRACHEID_INPUT_MSG_H
11 #define GO_SCANNER_TRACHEID_INPUT_MSG_H
12 
16 #include <GoSdk/GoSdk.h>
17 
18 /**
19 * @class GoWebScanTracheidInputMsg
20 * @extends GoWebScanPipeMsg
21 * @ingroup GoWebScanSdk-Messages
22 * @brief Represents a message containing a raw tracheid message from a sensor.
23 */
25 
26 /**
27 * Constructs a GoWebScanTracheidInputMsg object.
28 *
29 * @public @memberof GoWebScanTracheidInputMsg
30 * @param msg Receives the constructed GoWebScanTracheidInputMsg object.
31 * @param pool Message pool of GoWebScanTracheidInputMsg objects
32 * @param allocator Memory allocator (or kNULL for default).
33 * @return Operation status.
34 */
36 
37 /**
38 * Destroys a GoWebScanTracheidInputMsg object.
39 *
40 * @public @memberof GoWebScanTracheidInputMsg
41 * @param msg GoWebScanTracheidInputMsg object.
42 * @return Operation status.
43 */
45 
46 /**
47  * Imports a GoTracheidMsg into a GoWebScanTracheidInputMsg object. The tracheid message needs
48  * to matched to a profile message with the closest frame number in order to import spot X data.
49  * Since the tracheid and profile messages contains batched data, the tracheid message may
50  * overlap with two profile messages. The messages are cloned into internal objects. As such,
51  * the GoProfilePointCloudMsg and GoTracheidMsg objects are still owned by the calling function
52  * and must be destroyed by it.
53  *
54  * @public @memberof GoWebScanTracheidInputMsg
55  * @param msg GoWebScanTracheidInputMsg object.
56  * @param deviceId Serial number of device from which tracheid message originates.
57  * @param tracheidStampMsg Tracheid message stamp.
58  * @param tracheidMsg Tracheid message.
59  * @param profileStampMsg0 Stamp of first matching candidate profile message.
60  * @param profileMsg0 First matching candidate profile message.
61  * @param profileStampMsg1 Stamp of second matching candidate profile message.
62  * @param profileMsg1 Second matching candidate profile message.
63  * @param config System configuration.
64  * @return Operation status.
65  */
66 GoWebScanFx(kStatus) GoWebScanTracheidInputMsg_Import(GoWebScanTracheidInputMsg msg, k32s deviceId, GoStampMsg tracheidStampMsg, GoTracheidMsg tracheidMsg,
67  GoStampMsg profileStampMsg0, GoProfilePointCloudMsg profileMsg0, GoStampMsg profileStampMsg1, GoProfilePointCloudMsg profileMsg1, GoWebScanConfig config);
68 
69 /**
70 * Gets the size, in bytes, of the tracheid data buffer.
71 *
72 * @public @memberof GoWebScanTracheidInputMsg
73 * @param msg GoWebScanTracheidInputMsg object.
74 * @return Buffer size (bytes).
75 */
77 
78 /**
79 * Gets the count of tracheid arrays in this message.
80 *
81 * @public @memberof GoWebScanTracheidInputMsg
82 * @param msg GoWebScanTracheidInputMsg object.
83 * @return Tracheid array count.
84 */
86 
87 /**
88 * Gets the width of tracheid arrays in this message
89 *
90 * @public @memberof GoWebScanTracheidInputMsg
91 * @param msg GoWebScanTracheidInputMsg object.
92 * @return Tracheid array width.
93 */
95 
96 /**
97 * Gets a pointer to the message attributes for a tracheid array.
98 *
99 * @public @memberof GoWebScanTracheidInputMsg
100 * @param msg GoWebScanTracheidInputMsg object.
101 * @param rowIndex Tracheid message index.
102 * @return Pointer to tracheid message attributes.
103 */
105 
106 /**
107 * Gets a pointer to the start of a tracheid array at a given index.
108 *
109 * @public @memberof GoWebScanTracheidInputMsg
110 * @param msg GoWebScanTracheidInputMsg object.
111 * @param rowIndex Tracheid message index.
112 * @return Pointer to tracheid array.
113 */
115 
116 #include <GoWebScanSdk/GoWebScanTracheidInputMsg.x.h>
117 
118 #endif
119 
Represents a tracheid point, which is the integer tracheid data for a spot with the X position (mils)...
Definition: GoWebScanSdkDef.h:558
kSize GoWebScanTracheidInputMsg_Width(GoWebScanTracheidInputMsg msg)
Gets the width of tracheid arrays in this message.
kStatus GoWebScanTracheidInputMsg_Construct(GoWebScanTracheidInputMsg *msg, GoWebScanPipeMsgPool pool, kAlloc allocator)
Constructs a GoWebScanTracheidInputMsg object.
kStatus GoWebScanTracheidInputMsg_Import(GoWebScanTracheidInputMsg msg, k32s deviceId, GoStampMsg tracheidStampMsg, GoTracheidMsg tracheidMsg, GoStampMsg profileStampMsg0, GoProfilePointCloudMsg profileMsg0, GoStampMsg profileStampMsg1, GoProfilePointCloudMsg profileMsg1, GoWebScanConfig config)
Imports a GoTracheidMsg into a GoWebScanTracheidInputMsg object.
Declares the GoWebScanPipeMsg class.
Essential GoWebScan declarations.
kStatus GoWebScanTracheidInputMsg_Destroy(GoWebScanTracheidInputMsg msg)
Destroys a GoWebScanTracheidInputMsg object.
GoWebScanInputAttr * GoWebScanTracheidInputMsg_AttrAt(GoWebScanTracheidInputMsg msg, kSize rowIndex)
Gets a pointer to the message attributes for a tracheid array.
Represents a message containing a raw tracheid message from a sensor.
kSize GoWebScanTracheidInputMsg_Count(GoWebScanTracheidInputMsg msg)
Gets the count of tracheid arrays in this message.
Represents the attributes of an input GoWebScan message object. These values are copied from the raw ...
Definition: GoWebScanSdkDef.h:527
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...
GoWebScanTracheidPoint * GoWebScanTracheidInputMsg_DataAt(GoWebScanTracheidInputMsg msg, kSize rowIndex)
Gets a pointer to the start of a tracheid array at a given index.
Represents a container for system-level parameters which are translated from user parameters set in G...
kSize GoWebScanTracheidInputMsg_Size(GoWebScanTracheidInputMsg msg)
Gets the size, in bytes, of the tracheid data buffer.
Declares a GoWebScanConfig object.