rm-gxf-computing-rusts 0.0.53 → 0.0.55

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.53",
3
+ "version": "0.0.55",
4
4
  "description": "",
5
5
  "author": "初秋",
6
6
  "type": "commonjs",
Binary file
Binary file
package/src/index.d.ts CHANGED
@@ -1,5 +1,12 @@
1
1
  /* auto-generated by NAPI-RS */
2
2
  /* eslint-disable */
3
+ export declare class LineHelper {
4
+ /** 1.0 */
5
+ static checkSideVisibility(option: CheckLineSideVisibilityOption): Array<number>
6
+ /** 2.0 点云可见方向检测 */
7
+ static visibleDirection(option: PCVisibleDirectOption): Array<number>
8
+ }
9
+
3
10
  export declare class SquareBackfacePointCloudTest {
4
11
  constructor(option: PcBackfaceTestOptions)
5
12
  push(data: LineData): void
@@ -38,8 +45,6 @@ export interface ArgumentLine2 {
38
45
  existSegments: Array<Quads>
39
46
  }
40
47
 
41
- export declare function checkLineSideVisibility(option: CheckLineSideVisibilityOption): Array<number>
42
-
43
48
  export interface CheckLineSideVisibilityOption {
44
49
  view?: boolean
45
50
  pcdDir: string
@@ -128,6 +133,7 @@ export declare function panorama(option: PanoramaOption): PanoramaResults
128
133
  export interface PanoramaOption {
129
134
  view?: boolean
130
135
  baseUrl: string
136
+ keys?: Array<string>
131
137
  imageGroups: Array<Array<ImageInfo>>
132
138
  }
133
139
 
@@ -155,12 +161,10 @@ export interface PcVisibleDirectOption {
155
161
  view?: boolean
156
162
  pcdDir: string
157
163
  lines: Array<Line>
164
+ hitMinimumValue?: number
158
165
  trajectorys: Record<string, Vector3F64>
159
166
  }
160
167
 
161
- /** 点云可见方向检测 */
162
- export declare function pointCloudVisibleDirection(option: PcVisibleDirectOption): Array<number>
163
-
164
168
  export interface Quads {
165
169
  originalVertices: Array<Array<Vector3F64>>
166
170
  allCenterPoints: Array<Vector3F64>
@@ -201,6 +205,8 @@ export interface SamplePointsByImageOption {
201
205
  edgeCorrosionSize?: number
202
206
  }
203
207
 
208
+ export declare function setPrintProgress(enabled: boolean): void
209
+
204
210
  /** 检测小方块背面是否有点云 */
205
211
  export declare function squareBackfacePointCloudTest(option: PcBackfaceTestOptions): Array<number>
206
212
 
@@ -210,7 +216,7 @@ export declare function squareHasObjectInFront(option: HasObjectInFrontOptions):
210
216
  /** 检测 小方块 是否被 其他小方块遮挡 */
211
217
  export declare function squareHasSquareBehind(option: HasQquareBehindOptions): Array<number>
212
218
 
213
- /** 着色全景 */
219
+ /** 测试 */
214
220
  export declare function test(): void
215
221
 
216
222
  export interface Trajectory {
package/src/index.js CHANGED
@@ -587,13 +587,13 @@ if (!nativeBinding) {
587
587
  }
588
588
 
589
589
  module.exports = nativeBinding
590
+ module.exports.LineHelper = nativeBinding.LineHelper
590
591
  module.exports.SquareBackfacePointCloudTest = nativeBinding.SquareBackfacePointCloudTest
591
592
  module.exports.SquareHasObjectInFront = nativeBinding.SquareHasObjectInFront
592
- module.exports.checkLineSideVisibility = nativeBinding.checkLineSideVisibility
593
593
  module.exports.modelPreview = nativeBinding.modelPreview
594
594
  module.exports.panorama = nativeBinding.panorama
595
- module.exports.pointCloudVisibleDirection = nativeBinding.pointCloudVisibleDirection
596
595
  module.exports.samplePointsByImage = nativeBinding.samplePointsByImage
596
+ module.exports.setPrintProgress = nativeBinding.setPrintProgress
597
597
  module.exports.squareBackfacePointCloudTest = nativeBinding.squareBackfacePointCloudTest
598
598
  module.exports.squareHasObjectInFront = nativeBinding.squareHasObjectInFront
599
599
  module.exports.squareHasSquareBehind = nativeBinding.squareHasSquareBehind