rm-gxf-computing-rusts 0.0.62 → 0.0.64

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-gxf-computing-rusts",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "description": "",
5
5
  "author": "初秋",
6
6
  "type": "commonjs",
Binary file
Binary file
package/src/index.d.ts CHANGED
@@ -8,6 +8,13 @@ export declare class LineHelper {
8
8
  static visibleDirectionAsync(option: PCVisibleDirectOption): Promise<Array<number>>
9
9
  }
10
10
 
11
+ export declare class SamplePointsByImageMask {
12
+ /** 通过图片对点云投影采样 */
13
+ static execute(option: SamplePointsByImageOption): Results
14
+ /** 通过图片对点云投影采样 */
15
+ static executeAsync(option: SamplePointsByImageOption): Promise<Results>
16
+ }
17
+
11
18
  export declare class SquareBackfacePointCloudTest {
12
19
  constructor(option: PcBackfaceTestOptions)
13
20
  push(data: LineData): void
@@ -181,6 +188,12 @@ export interface PcVisibleDirectOption {
181
188
  trajectorys: Record<string, Vector3F64>
182
189
  }
183
190
 
191
+ export interface PoseFilePath {
192
+ image: string
193
+ radar: string
194
+ offset: number
195
+ }
196
+
184
197
  export interface Quads {
185
198
  originalVertices: Array<Array<Vector3F64>>
186
199
  allCenterPoints: Array<Vector3F64>
@@ -200,12 +213,14 @@ export declare function samplePointsByImageAsync(option: SamplePointsByImageOpti
200
213
 
201
214
  export interface SamplePointsByImageOption {
202
215
  view?: boolean
216
+ /** 图片url列表 */
217
+ imageUrls: Array<string>
218
+ pcdMatching?: PoseFilePath
203
219
  /** pcd url,pcd_chunk为true时,该值为目录 */
204
220
  pcdPath: string
221
+ globalPcdPath?: string
205
222
  /** 是否使用pcd片段 */
206
223
  pcdChunk?: boolean
207
- /** 图片url列表 */
208
- imageUrls: Array<string>
209
224
  /** 点云z轴小于该值的过滤掉 */
210
225
  minZ?: number
211
226
  /** 当前使用版本 */
@@ -258,3 +273,5 @@ export interface Vector3F64 {
258
273
  y: number
259
274
  z: number
260
275
  }
276
+
277
+ export declare function webgpuSystemCheck(): void
package/src/index.js CHANGED
@@ -588,6 +588,7 @@ if (!nativeBinding) {
588
588
 
589
589
  module.exports = nativeBinding
590
590
  module.exports.LineHelper = nativeBinding.LineHelper
591
+ module.exports.SamplePointsByImageMask = nativeBinding.SamplePointsByImageMask
591
592
  module.exports.SquareBackfacePointCloudTest = nativeBinding.SquareBackfacePointCloudTest
592
593
  module.exports.SquareHasObjectInFront = nativeBinding.SquareHasObjectInFront
593
594
  module.exports.dxfToDwg = nativeBinding.dxfToDwg
@@ -603,3 +604,4 @@ module.exports.squareBackfacePointCloudTestAsync = nativeBinding.squareBackfaceP
603
604
  module.exports.squareHasObjectInFront = nativeBinding.squareHasObjectInFront
604
605
  module.exports.squareHasSquareBehind = nativeBinding.squareHasSquareBehind
605
606
  module.exports.test = nativeBinding.test
607
+ module.exports.webgpuSystemCheck = nativeBinding.webgpuSystemCheck