Gocator Development Kit
Home
Topics
Types
Files
All
Classes
Files
Functions
Variables
Typedefs
Friends
Modules
Pages
GdkToolInput.h
Go to the documentation of this file.
1
/**
2
* @file GdkToolInput.h
3
* @brief Declares the GdkToolInput and related classes.
4
*
5
* Copyright (C) 2015 by LMI Technologies Inc. All rights reserved.
6
*/
7
#ifndef GDK_TOOL_INPUT_H
8
#define GDK_TOOL_INPUT_H
9
10
#include <
Gdk/GdkDef.h
>
11
#include <
Gdk/Utils/GdkDataInfo.h
>
12
13
kBeginHeader()
14
15
/**
16
* Represents a tool input collection.
17
*
18
* @class GdkToolInput
19
* @extends kObject
20
* @ingroup Gdk-Tools
21
*/
22
typedef
kObject
GdkToolInput
;
23
kDeclareClass(Gdk, GdkToolInput,
kObject
)
24
kDeclareValue(Gdk, GdkInputItemClass,
kValue
)
25
26
/**
27
* Represents a tool input item.
28
*
29
* @class GdkInputItem
30
* @ingroup Gdk-Tools
31
*/
32
typedef
kPointer
GdkInputItem
;
33
34
/**
35
* Returns the item correspoding to the selected data source.
36
*
37
* If the selected source has multiple items (e.g. top and bottom), this will return
38
* the first item (e.g. the top).
39
*
40
* @public @memberof GdkToolInput
41
* @param input Input collection.
42
* @return Selected input item.
43
*/
44
GdkFx(GdkInputItem)
GdkToolInput_Selected
(GdkToolInput input);
45
46
/**
47
* Returns the secondary item correspoding to the selected data source.
48
*
49
* If the selected source has multiple items (e.g. top and bottom), this will return
50
* the second item (e.g. the bottom). Otherwise kNULL is returned.
51
*
52
* @public @memberof GdkToolInput
53
* @param input Input collection.
54
* @return Secondary selected input item.
55
*/
56
GdkFx(GdkInputItem)
GdkToolInput_SelectedSec
(GdkToolInput input);
57
58
/**
59
* Finds an input item by data source.
60
*
61
* @public @memberof GdkToolInput
62
* @param input Input collection.
63
* @param source Data source.
64
* @return Input item corresponding to source. kNULL if not found.
65
*/
66
GdkFx(GdkInputItem)
GdkToolInput_Find
(GdkToolInput input,
GdkDataSource
source);
67
68
/**
69
* Returns the anchoring position for the input.
70
*
71
* If anchoring is not enabled for an axis, the value for that axis is 0.0.
72
* A value may be k64F_NULL if anchoring fails for that axis.
73
*
74
* @public @memberof GdkToolInput
75
* @param input Input collection.
76
* @return Pointer to anchoring position.
77
*/
78
GdkFx(const
kPoint3d64f
*)
GdkToolInput_AnchorPosition
(GdkToolInput input);
79
80
/**
81
* Returns the static data source descriptor for the item.
82
*
83
* @public @memberof GdkInputItem
84
* @param input Input item.
85
* @return Data source descriptor.
86
*/
87
GdkFx(
GdkDataInfo
)
GdkInputItem_Info
(GdkInputItem input);
88
89
/**
90
* Returns data offset for the item.
91
*
92
* The data offset should be added to any calculation turning integers or
93
* array indices into real world units (mm). Note that the offset can change
94
* from frame-to-frame due to features such as part detection.
95
*
96
* @public @memberof GdkInputItem
97
* @param input Input item.
98
* @return Data offset.
99
*/
100
GdkFx(const
kPoint3d64f
*)
GdkInputItem_Offset
(GdkInputItem input);
101
102
/**
103
* Represents a range input.
104
*
105
* @class GdkRangeInput
106
* @extends GdkInputItem
107
* @ingroup Gdk-Tools
108
*/
109
typedef
kPointer
GdkRangeInput
;
110
111
/**
112
* Returns the range value.
113
*
114
* @public @memberof GdkRangeInput
115
* @param input Input item.
116
* @return Range value.
117
*/
118
GdkFx(
k16s
)
GdkRangeInput_Range
(GdkRangeInput input);
119
120
/**
121
* Returns the intensity value.
122
*
123
* @public @memberof GdkRangeInput
124
* @param input Input item.
125
* @return Intensity value.
126
*/
127
GdkFx(
k8u
)
GdkRangeInput_Intensity
(GdkRangeInput input);
128
129
/**
130
* Represents a resampled profile input.
131
*
132
* @class GdkProfileInput
133
* @extends GdkInputItem
134
* @ingroup Gdk-Tools
135
*/
136
typedef
kPointer
GdkProfileInput
;
137
138
/**
139
* Returns the number of points.
140
*
141
* @public @memberof GdkProfileInput
142
* @param input Input item.
143
* @return Point count.
144
*/
145
GdkFx(
kSize
)
GdkProfileInput_Count
(GdkProfileInput input);
146
147
/**
148
* Returns the range values.
149
*
150
* @public @memberof GdkProfileInput
151
* @param input Input item.
152
* @return Range values.
153
*/
154
GdkFx(const
k16s
*)
GdkProfileInput_Ranges
(GdkProfileInput input);
155
156
/**
157
* Returns the intensity values.
158
*
159
* @public @memberof GdkProfileInput
160
* @param input Input item.
161
* @return Intensity values.
162
*/
163
GdkFx(const
k8u
*)
GdkProfileInput_Intensities
(GdkProfileInput input);
164
165
/**
166
* Represents an unresampled profile input.
167
*
168
* @class GdkRawProfileInput
169
* @extends GdkInputItem
170
* @ingroup Gdk-Tools
171
*/
172
typedef
kPointer
GdkRawProfileInput
;
173
174
/**
175
* Returns the number of points.
176
*
177
* @public @memberof GdkRawProfileInput
178
* @param input Input item.
179
* @return Point count.
180
*/
181
GdkFx(
kSize
)
GdkRawProfileInput_Count
(GdkRawProfileInput input);
182
183
/**
184
* Returns the range values.
185
*
186
* @public @memberof GdkRawProfileInput
187
* @param input Input item.
188
* @return Range values.
189
*/
190
GdkFx(const GdkPointXZ16s*)
GdkRawProfileInput_Ranges
(GdkRawProfileInput input);
191
192
/**
193
* Returns the intensity values.
194
*
195
* @public @memberof GdkRawProfileInput
196
* @param input Input item.
197
* @return Intensity values.
198
*/
199
GdkFx(const
k8u
*)
GdkRawProfileInput_Intensities
(GdkRawProfileInput input);
200
201
/**
202
* Represents a resampled surface input.
203
*
204
* @class GdkSurfaceInput
205
* @extends GdkInputItem
206
* @ingroup Gdk-Tools
207
*/
208
typedef
kPointer
GdkSurfaceInput
;
209
210
/**
211
* Returns the number of columns.
212
*
213
* @public @memberof GdkSurfaceInput
214
* @param input Input item.
215
* @return Column count.
216
*/
217
GdkFx(
kSize
)
GdkSurfaceInput_ColumnCount
(GdkSurfaceInput input);
218
219
/**
220
* Returns the number of rows.
221
*
222
* @public @memberof GdkSurfaceInput
223
* @param input Input item.
224
* @return Row count.
225
*/
226
GdkFx(
kSize
)
GdkSurfaceInput_RowCount
(GdkSurfaceInput input);
227
228
/**
229
* Returns the range values at a specified row.
230
*
231
* @public @memberof GdkSurfaceInput
232
* @param input Input item.
233
* @param row Row index.
234
* @return Range values.
235
*/
236
GdkFx(const
k16s
*)
GdkSurfaceInput_RangeRowAt
(GdkSurfaceInput input,
kSize
row);
237
238
/**
239
* Returns the intensity values at a specified row.
240
*
241
* @public @memberof GdkSurfaceInput
242
* @param input Input item.
243
* @param row Row index.
244
* @return Intensity values.
245
*/
246
GdkFx(const
k8u
*)
GdkSurfaceInput_IntensityRowAt
(GdkSurfaceInput input,
kSize
row);
247
248
kEndHeader()
249
250
#endif
GdkDef.h
Essential Gdk declarations.
GdkRawProfileInput::GdkRawProfileInput_Ranges
const GdkPointXZ16s * GdkRawProfileInput_Ranges(GdkRawProfileInput input)
Returns the range values.
GdkInputItem
Represents a tool input item.
Definition:
GdkToolInput.h:23
GdkSurfaceInput::GdkSurfaceInput_IntensityRowAt
const k8u * GdkSurfaceInput_IntensityRowAt(GdkSurfaceInput input, kSize row)
Returns the intensity values at a specified row.
kPointer
GdkInputItem::GdkInputItem_Offset
const kPoint3d64f * GdkInputItem_Offset(GdkInputItem input)
Returns data offset for the item.
GdkProfileInput::GdkProfileInput_Ranges
const k16s * GdkProfileInput_Ranges(GdkProfileInput input)
Returns the range values.
kSize
GdkRawProfileInput::GdkRawProfileInput_Count
kSize GdkRawProfileInput_Count(GdkRawProfileInput input)
Returns the number of points.
GdkRangeInput
Represents a range input.
k8u
GdkDataInfo
Describes a data source.
GdkSurfaceInput
Represents a resampled surface input.
GdkDataSource
Represents a data source selections.
GdkToolInput::GdkToolInput_Selected
GdkInputItem GdkToolInput_Selected(GdkToolInput input)
Returns the item correspoding to the selected data source.
GdkRangeInput::GdkRangeInput_Intensity
k8u GdkRangeInput_Intensity(GdkRangeInput input)
Returns the intensity value.
GdkRawProfileInput::GdkRawProfileInput_Intensities
const k8u * GdkRawProfileInput_Intensities(GdkRawProfileInput input)
Returns the intensity values.
GdkSurfaceInput::GdkSurfaceInput_ColumnCount
kSize GdkSurfaceInput_ColumnCount(GdkSurfaceInput input)
Returns the number of columns.
GdkInputItem::GdkInputItem_Info
GdkDataInfo GdkInputItem_Info(GdkInputItem input)
Returns the static data source descriptor for the item.
GdkProfileInput
Represents a resampled profile input.
GdkSurfaceInput::GdkSurfaceInput_RowCount
kSize GdkSurfaceInput_RowCount(GdkSurfaceInput input)
Returns the number of rows.
GdkToolInput::GdkToolInput_Find
GdkInputItem GdkToolInput_Find(GdkToolInput input, GdkDataSource source)
Finds an input item by data source.
GdkProfileInput::GdkProfileInput_Count
kSize GdkProfileInput_Count(GdkProfileInput input)
Returns the number of points.
GdkToolInput
Represents a tool input collection.
kValue
k16s
GdkToolInput::GdkToolInput_AnchorPosition
const kPoint3d64f * GdkToolInput_AnchorPosition(GdkToolInput input)
Returns the anchoring position for the input.
kObject
GdkProfileInput::GdkProfileInput_Intensities
const k8u * GdkProfileInput_Intensities(GdkProfileInput input)
Returns the intensity values.
GdkToolInput::GdkToolInput_SelectedSec
GdkInputItem GdkToolInput_SelectedSec(GdkToolInput input)
Returns the secondary item correspoding to the selected data source.
GdkRangeInput::GdkRangeInput_Range
k16s GdkRangeInput_Range(GdkRangeInput input)
Returns the range value.
GdkDataInfo.h
Declares the GdkDataInfo class.
GdkSurfaceInput::GdkSurfaceInput_RangeRowAt
const k16s * GdkSurfaceInput_RangeRowAt(GdkSurfaceInput input, kSize row)
Returns the range values at a specified row.
kPoint3d64f
GdkRawProfileInput
Represents an unresampled profile input.
Tools
GdkToolInput.h
This site is best viewed with Firefox. Copyright (C) 2003-2016 by LMI Technologies.