rm-gxf-computing-rusts 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/gfx.linux-x64-gnu.node +0 -0
- package/src/gfx.win32-x64-msvc.node +0 -0
- package/src/index.d.ts +8 -18
- package/src/index.js +0 -1
- package/src/main.js +0 -10
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/src/index.d.ts
CHANGED
|
@@ -130,24 +130,6 @@ export interface PcBackfaceTestOptions {
|
|
|
130
130
|
distProjection: boolean
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export interface PcObjectEcognizerOption {
|
|
134
|
-
view?: boolean
|
|
135
|
-
pcdUrl: string
|
|
136
|
-
imageUrls: Array<string>
|
|
137
|
-
groundZ: number
|
|
138
|
-
version?: string
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export interface PcObjectEcognizerOption {
|
|
142
|
-
view?: boolean
|
|
143
|
-
pcdUrl: string
|
|
144
|
-
imageUrls: Array<string>
|
|
145
|
-
groundZ: number
|
|
146
|
-
version?: string
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export declare function pointCloudObjectEcognizer(option: PcObjectEcognizerOption): Array<Array<Array<number>>>
|
|
150
|
-
|
|
151
133
|
export interface Quads {
|
|
152
134
|
originalVertices: Array<Array<Vector3F64>>
|
|
153
135
|
allCenterPoints: Array<Vector3F64>
|
|
@@ -248,6 +230,10 @@ export interface SamplePointsByImageOption {
|
|
|
248
230
|
depthFilter?: DepthFilter
|
|
249
231
|
/** 过滤类型列表 */
|
|
250
232
|
excludeCategoryList?: Array<string>
|
|
233
|
+
/** 形状使用轮廓 */
|
|
234
|
+
contourMode?: boolean
|
|
235
|
+
/** 边缘腐蚀大小 */
|
|
236
|
+
edgeCorrosionSize?: number
|
|
251
237
|
}
|
|
252
238
|
|
|
253
239
|
export interface SamplePointsByImageOption {
|
|
@@ -270,6 +256,10 @@ export interface SamplePointsByImageOption {
|
|
|
270
256
|
depthFilter?: DepthFilter
|
|
271
257
|
/** 过滤类型列表 */
|
|
272
258
|
excludeCategoryList?: Array<string>
|
|
259
|
+
/** 形状使用轮廓 */
|
|
260
|
+
contourMode?: boolean
|
|
261
|
+
/** 边缘腐蚀大小 */
|
|
262
|
+
edgeCorrosionSize?: number
|
|
273
263
|
}
|
|
274
264
|
|
|
275
265
|
export declare function squareBackfacePointCloudTest(option: PcBackfaceTestOptions): Array<number>
|
package/src/index.js
CHANGED
|
@@ -588,7 +588,6 @@ if (!nativeBinding) {
|
|
|
588
588
|
|
|
589
589
|
module.exports = nativeBinding
|
|
590
590
|
module.exports.checkLineSideVisibility = nativeBinding.checkLineSideVisibility
|
|
591
|
-
module.exports.pointCloudObjectEcognizer = nativeBinding.pointCloudObjectEcognizer
|
|
592
591
|
module.exports.samplePointsByImage = nativeBinding.samplePointsByImage
|
|
593
592
|
module.exports.squareBackfacePointCloudTest = nativeBinding.squareBackfacePointCloudTest
|
|
594
593
|
module.exports.squareHasSquareBehind = nativeBinding.squareHasSquareBehind
|
package/src/main.js
CHANGED
|
@@ -160,15 +160,6 @@ function squareHasSquareBehind(params) {
|
|
|
160
160
|
return gxf.squareHasSquareBehind(params)
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @param {import("./index").PcObjectEcognizerOption} params
|
|
166
|
-
* @returns
|
|
167
|
-
*/
|
|
168
|
-
function pointCloudObjectEcognizer(params) {
|
|
169
|
-
return gxf.pointCloudObjectEcognizer(params)
|
|
170
|
-
}
|
|
171
|
-
|
|
172
163
|
/**
|
|
173
164
|
*
|
|
174
165
|
* @param {import("./index").SamplePointsByImageOption} params
|
|
@@ -180,6 +171,5 @@ function samplePointsByImage(params) {
|
|
|
180
171
|
|
|
181
172
|
module.exports.checkLineSideVisibility = checkLineSideVisibility
|
|
182
173
|
module.exports.squareBackfacePointCloudTest = squareBackfacePointCloudTest
|
|
183
|
-
module.exports.pointCloudObjectEcognizer = pointCloudObjectEcognizer
|
|
184
174
|
module.exports.squareHasSquareBehind = squareHasSquareBehind
|
|
185
175
|
module.exports.samplePointsByImage = samplePointsByImage
|