1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
/**
* @file Vzense_api2.h
* @brief Vzense API header file.
* Copyright (c) 2018-2019 V Interactive, Inc.
*/
/*! \mainpage Vzense API Documentation
*
* \section intro_sec Introduction
*
* Welcome to the Vzense API documentation. This documentation enables you to quickly get started in your development efforts to programmatically interact with the Vzense TOF RGBD Camera (DCAM560).
*/
/**
* @brief Initializes the API on the device. This function must be invoked before any other Vzense APIs.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Shuts down the API on the device and clears all resources allocated by the API. After invoking this function, no other Vzense APIs can be invoked.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the number of camera devices currently connected.
* @param[out] pDeviceCount Pointer to a 32-bit integer variable in which to return the device count.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the info lists of the deviceCount camera devices.
* @param[in] deviceCount the number of camera devices.
* @param[out] pDevicesList Pointer to a buffer in which to store the deviceCount devices infos.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the info of the deviceIndex camera device.
* @param[in] deviceIndex The index of the device to open. Device indices range from 0 to device count - 1.
* @param[out] pDevices Pointer to a buffer in which to store the device info.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Opens the device specified by <code>uri</code>. The device must be subsequently closed using PsCloseDevice().
* @param[in] uri the uri of the device. See ::PsDeviceInfo for more information.
* @param[out] pDevices the handle of the device on which to open.
* @return: ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Closes the device specified by <code>device</code> that was opened using PsOpenDevice.
* @param[in] device The handle of the device to close.
* @return: ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Starts capturing the image stream indicated by <code>device</code>. \n
Invoke Ps2_StopStream() to stop capturing the image stream.
* @param[in] device The handle of the device on which to start capturing the image stream.
* @param[in] sessionIndex The index of the session that include N Tof sensors and maximum N RGB sensors. \n
range from 0 to ::SessionCount - 1. See ::PsDeviceInfo for more information. \n
For example, the camera <code>device</code> has 2 Tof sensor and 1 rgb sensor, the ::SessionCount is 2.\n
If the <code>sessionIndex</code> is 0 mean that start 1 tof stream and the rgb stream, \n
and if the <code>sessionIndex</code> is 1 mean that start only 1 tof stream.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Stops capturing the image stream on the device specified by <code>device</code>. that was started using Ps2_StartStream.
* @param[in] device The handle of the device on which to stop capturing the image stream.
* @param[in] sessionIndex The index of the session that include N Tof sensors and maximum N RGB sensors. \n
range from 0 to ::SessionCount - 1. See ::PsDeviceInfo for more information. \n
For example, the camera <code>device</code> has 2 Tof sensor and 1 rgb sensor, the ::SessionCount is 2.\n
If the <code>sessionIndex</code> is 0 mean that stop 1 tof stream and the rgb stream, \n
and if the <code>sessionIndex</code> is 1 mean that stop only 1 tof stream.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Captures the next image frame from the device specified by <code>device</code>. This API must be invoked before capturing frame data using PsGetFrame().
* @param[in] device The handle of the device on which to read the next frame.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pFrameReady Pointer to a buffer in which to store the signal on which image is ready to be get.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the image data for the current frame from the device specified by <code>device</code>.\n
Before invoking this API, invoke PsReadNextFrame() to capture one image frame from the device.
* @param[in] device The handle of the device to capture an image frame from.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] frameType The image frame type.
* @param[out] pPsFrame Pointer to a buffer in which to store the returned image data.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the output data mode for the device specified by <code>device</code>.
* @param[in] device The handle of the device for which to set the data mode.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] dataMode The output data mode. See ::PsDataMode for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the output data mode from the device specified by <code>device</code>.
* @param[in] device The handle of the device for which to set the data mode.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[Out] dataMode The output data mode. See ::PsDataMode for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the depth range mode from the device specified by <code>device</code>.
* @param[in] device The handle of the device from which to get the depth range.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pDepthRange Pointer to a ::PsDepthRange variable in which to store the returned depth range mode.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the depth range mode for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the depth range.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] depthRange Specifies the depth range mode.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the threshold value for the background filter from the device specified by <code>device</code>. \n
The value represents the cut-off point for distant data that the filter should ignore. \n
For example, if 20.0 is specified, data with 20% or less confidence will be dropped.
* @param[in] device The handle of the device from which to get the threshold.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pThreshold Pointer to a 16-bit unsigned integer variable in which to return the threshold value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the threshold value for the background filter for the device specified by <code>device</code>. \n
The value represents the cut-off point for distant data that the filter should ignore. \n
For example, if 20.0 is specified, data with 20% or less confidence will be dropped.
* @param[in] device The handle of the device on which to set the threshold.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] threshold The threshold value to set. 0 will attempt to keep all point data but may not be accurate further away; 100 or higher will reject almost all point data leaving only the closest points.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the pulse count from the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pPulseCount Pointer to a 16-bit unsigned integer variable in which to store the pulse count value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the pulse count for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pulseCount The pulse count value to set.For the range 3 and 4,the value is in the range [0,260],for the other range,the value is in the range [0,600].
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the the device's GMM gain.
* @param[in] device The handle of the device from which to get the GMM gain.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] gmmgain Pointer to a variable in which to store the returned GMM gain.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the device GMM gain on a device.
* @param[in] device The handle of the device on which to set the GMM gain.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] gmmgain The GMM gain value to set. See ::PsGMMGain for more information.The GMM gain value is in the range [0,4095].
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns a specific property value from the device specified by <code>device</code>.
* @param[in] device The handle of the device from which to get the property value.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] propertyType The type of property to get from the device. See ::PsPropertyType for more information.
* @param[out] pData Pointer to a buffer to store the returned property value.
* @param[out] pDataSize The size, in bytes, of the property value returned in <code>pData</code>.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Set the corresponding property value for the device specified by <code>device</code>.
* @param[in] device The handle of the device from which to set the property value.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] propertyType The type of property to set on the device.
* @param[in] pData Pointer to a buffer containing the property value.
* @param[in] dataSize The size, in bytes, of the property value contained in <code>pData</code>.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the internal intrinsic and distortion coefficient parameters from the device specified by <code>device</code>.
* @param[in] device The handle of the device from which to get the internal parameters.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] sensorType The type of sensor (depth or RGB) from which to get parameter information. Pass in the applicable value defined by ::PsSensorType.
* @param[out] pCameraParameters Pointer to a PsCameraParameters variable in which to store the parameter values.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the camera rotation and translation coefficient parameters from the device specified by <code>device</code>.
* @param[in] device The handle of the device from which to get the extrinsic parameters.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pCameraExtrinsicParameters Pointer to a ::PsGetCameraExtrinsicParameters variable in which to store the parameters.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the color image pixel format on the device specified by <code>device</code>. Currently only RGB and BGR formats are supported.
* @param[in] device The handle of the device to set the pixel format.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pixelFormat The color pixel format to use. Pass in one of the values defined by ::PsPixelFormat. Currently only <code>PsPixelFormatRGB888</code> and <code>PsPixelFormatBGR888</code> are supported.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the RGB frame Resolution.
* @param[in] device The handle of the device on which to set the GMM gain.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] resolution The resolution value to set. See ::PsResolution for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the the RGB frame Resolution.
* @param[in] device The handle of the device from which to get the GMM gain.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] resolution Pointer to a variable in which to store the returned resolution.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the WDR output mode.
* @param[in] device The handle of the device on which to set the mode.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pWDRMode The WDR output mode to set. See ::PsWDROutputMode for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the current WDR output mode.
* @param[in] device The handle of the device on which to get the mode from.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pWDRMode A pointer to a ::PsWDROutputMode variable in which to store the current WDR output mode.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the WDR style on the device.
* @param[in] device The handle of the device on which to set the WDR style.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] wdrStyle The wide dynamic range merge style to use. See ::PsWDRStyle for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the MeasuringRange in depthRange.
* @param[in] device The handle of the device on which to set the WDR style.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] depthRange Specifies the depth range mode.
* @param[out] pMeasuringRange A pointer to a ::PsMeasuringRange variable in which to store the MeasuringRange in depthRange.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Converts the input points from world coordinate space to depth coordinate space.
* @param[in] device The handle of the device on which to perform the operation.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pWorldVector Pointer to a buffer containing the x, y, and z values of the input world coordinates to be converted, measured in millimeters.
* @param[out] pDepthVector Pointer to a buffer in which to output the converted x, y, and z values of the depth coordinates. \n
* x and y are measured in pixels, where 0, 0 is located at the top left corner of the image. \n
* z is measured in millimeters, based on the ::PsPixelFormat depth frame.
* @param[in] pointCount The number of coordinates to convert.
* @param[in] pCameraParam The intrinsic camera parameters for the depth camera. See ::PsGetCameraParameters.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Converts the input points from depth coordinate space to world coordinate space.
* @param[in] device The handle of the device on which to perform the operation.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pDepthVector Pointer to a buffer containing the x, y, and z values of the depth coordinates to be converted. \n
* x and y are measured in pixels, where 0, 0 is located at the top left corner of the image. \n
* z is measured in millimeters, based on the ::PsPixelFormat depth frame.
* @param[out] pWorldVector Pointer to a buffer in which to output the converted x, y, and z values of the world coordinates, measured in millimeters.
* @param[in] pointCount The number of points to convert.
* @param[in] pCameraParam The intrinsic camera parameters for the depth camera. See ::PsGetCameraParameters.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Converts the input Depth frame from depth coordinate space to world coordinate space on the device.
* @param[in] device The handle of the device on which to perform the operation.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] depthFrame The depth frame.
* @param[out] pWorldVector Pointer to a buffer in which to output the converted x, y, and z values of the world coordinates, measured in millimeters.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the syncronize feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the syncronize feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the depth and ir distortion correction feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the depth and ir distortion correction feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/*
Removed: merge the function to Ps2_SetDepthDistortionCorrectionEnabled,
If recover the API 'XX_IrDistortionXXX', stil call the 'XX_DepthDistortionXXX'
VZENSE_C_API_EXPORT PsReturnStatus Ps2_SetIrDistortionCorrectionEnabled(PsDeviceHandle device, uint32_t sessionIndex, bool bEnabled);
*/
/*
Removed: merge the function to Ps2_GetDepthDistortionCorrectionEnabled
If recover the API 'XX_IrDistortionXXX', stil call the 'XX_DepthDistortionXXX'
VZENSE_C_API_EXPORT PsReturnStatus Ps2_GetIrDistortionCorrectionEnabled(PsDeviceHandle device, uint32_t sessionIndex, bool *bEnabled);
*/
/**
* @brief Enables or disables the RGB distortion correction feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the RGB distortion correction feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the ComputeRealDepth feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the ComputeRealDepth feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the SpatialFilter feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the SpatialFilter feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the TimeFilter feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the TimeFilter feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the Depth Stream feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the IR Stream feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the RGB Stream feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the ImageMirror feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] type 1 left-right mirror; 2 up-down mirror;3 both mirror (rotation 180)
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the ImageRotation feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] type 0 counterclock 906у; 1 counterclock 1806у;2 counterclock 2706у
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables mapping of the depth image to RGB space on the device. When enabled, PsGetFrame() can\n
* be invoked passing ::PsMappedRGBFrame as the frame type, to get the depth frame that is mapped to RGB space. The resolution of\n
* the mapped rgb frame is the same as that of the depth image.
* @param[in] device The handle of the device on which to enable or disable mapping.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the mapping of the depth image to RGB space feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables mapping of the RGB image to depth space on the device. When enabled, PsGetFrame()\n
can be invoked passing ::PsMappedDepthFrame as the frame type, to get the RGB frame that is mapped to depth space. The resolution\n
of the mapped depth frame is the same as that of the RGB image.
* @param[in] device The handle of the device on which to enable or disable mapping.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the mapping of the RGB image to depth space feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets hotplug status callback function
* @param[in] pCallback Pointer to the callback function. See ::PtrHotPlugStatusCallback
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets hotplug status callback function for c plus plus
* @param[in] pCallback Pointer to the callback function. See ::PtrHotPlugStatusCallback
* @param[in] contex Pointer to the object of C++ class
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the pulse count from the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] pwdrPulseCount A pointer to a ::PsWDRPulseCount variable in which to store the PulseCount in WDR mode.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the pulse count for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pwdrPulseCount The PulseCount value in WDR mode to set.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the serial number.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] sn Pointer to a variable in which to store the returned sn value.
* @param[in] length The maximum length is 63 bytes.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the firmware version number.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] fw Pointer to a variable in which to store the returned fw value.
* @param[in] length The maximum length is 63 bytes.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the DSP feature for tof frame.
* The DSP feature only support ComputeRealDepthCorrection and SpatialFilter.
* The default filter has ComputeRealDepthCorrection, SpatialFilter,TimeFilter, DepthDistortionCorrection and IrDistortionCorrection.
* Enable the DSP feature can reduce SDK loading, but disable it has a better effect.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the DSP feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/*
* @brief Enables or disables the SlaveMode feature
* @Parameters:
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @Return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the tof frame rate.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] value The value of rate,in 3,5,6,10,15,30.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the tof frame rate.
* @param[in] device The handle of the device on which to set the pulse count.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] value The rate value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the StandBy feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Opens the device specified by <code>alias</code>. The device must be subsequently closed using PsCloseDevice().
* @param[in] alias the alias of the device. See ::PsDeviceInfo for more information.
* @param[out] pDevices the handle of the device on which to open.
* @return: ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Set the waittime of read next frame.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] time The unit is millisecond, the value is in the range (0,65535) and the default value is 350 millisecond.
* You can change the value according to the frame rate. For example,the frame rate is 30, so the theoretical waittime interval is 33ms, but if set the time value is 20ms,
* it means the max wait time is 20 ms when capturing next frame, so when call the Ps2_ReadNextFrame, it may return PsRetReadNextFrameTimeOut(-11).
* so the value range that recommended is [50.350].
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the version of SDK.
* @param[in] version Pointer to a variable in which to store the returned version value.
* @param[in] length The maximum length is 63 bytes.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the point value of the frame that the mapping of the depth image to RGB space.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] pointInDepth The point in depth frame.
* @param[in] rgbSize The size(x = w,y = h) of rgb frame.
* @param[out] pPointInRGB The point in the rgb frame.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Trigger frame data once in slave mode.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets IP from the device specified by <code>uri</code>.
* @param[in] uri the uri of the device. See ::PsDeviceInfo for more information.
* @param[out] ip Pointer to a buffer in which to store the device IP. the buffer default size is 17, and the last buffer set '\0'.
* @return: ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the MAC from the device specified by <code>device</code>.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[out] mac Pointer to a buffer in which to store the device MAC. the buffer default size is 18, and the last buffer set '\0'.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the RGB brightness.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[in] value The value of brightness,in [-64,64].
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the RGB brightness.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[out] value The value of brightness,in [-64,64].
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the maximum exposure time of RGB in AEC.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[in] value The value of brightness,in [1,30] and the unit is 1ms.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the maximum exposure time of RGB in AEC.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[out] value The value of brightness,in [1,30] and the unit is 1ms.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the RGB frequency of power line.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[in] value The frequency value of power line, 1:50HZ 2:60HZ
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the RGB frequency of power line.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[out] value The frequency value of power line, 1:50HZ 2:60HZ
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Reboot the camera.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the legacy algorithmic,and default value is disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the ConfidenceFilter feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the ConfidenceFilter feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the ConfidenceFilter threshold value for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the threshold.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] threshold The threshold value to set. 0 will attempt to keep all point data but may not be accurate further away; 1000 is the max value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the ConfidenceFilter threshold value for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the threshold.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] threshold The threshold value to set. 0 will attempt to keep all point data but may not be accurate further away; 1000 is the max value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the WDR ConfidenceFilter threshold value for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the threshold.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] threshold The threshold value to set. 0 will attempt to keep all point data but may not be accurate further away; 1000 is the max value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the WDR ConfidenceFilter threshold value for the device specified by <code>device</code>.
* @param[in] device The handle of the device on which to set the threshold.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] threshold The threshold value to set. 0 will attempt to keep all point data but may not be accurate further away; 1000 is the max value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Opens the device specified by <code>ip</code>. The device must be subsequently closed using PsCloseDevice().
* @param[in] ip the ip of the device. See ::PsDeviceInfo for more information.
* @param[out] pDevices the handle of the device on which to open.
* @return: ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Enables or disables the RGB manual exposure feature.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[in] bEnabled Set to <code>true</code> to enable the feature or <code>false</code> to disable the feature.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Returns the Boolean value of whether the RGB manual exposure feature is enabled or disabled.
* @param[in] device The handle of the device on which to enable or disable the feature.
* @param[in] sessionIndex The index of the session. See ::Ps2_StartStream() & ::Ps2_StopStream() api for more information.
* @param[out] bEnabled Pointer to a variable in which to store the returned Boolean value.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Sets the RGB absolute exposure in manual.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[in] value The value of brightness,in [1,4000] and the unit is 100us.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/**
* @brief Gets the RGB absolute exposure in manual.
* @param[in] device The handle of the device.
* @param[in] sessionIndex The index of the session.
* @param[out] value The value of brightness,in [1,4000] and the unit is 100us.
* @return ::PsRetOK if the function succeeded, or one of the error values defined by ::PsReturnStatus.
*/
VZENSE_C_API_EXPORT PsReturnStatus ;
/* VZENSE_API_560_H */