Artec 3D Scanning SDK  2.0
ScannerInfo.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Stucture of scanner's parameters and capabilities
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 
11 #ifndef _SCANNERINFO_H_
12 #define _SCANNERINFO_H_
13 
15 #include <artec/sdk/base/IImage.h>
16 
17 #define MAX_NAME_LENGTH 80
18 #define MAX_ID_LENGTH 200
19 
20 namespace artec { namespace sdk { namespace capturing
21 {
22 
24 {
25  ScannerButton_RecordStop = 1, // one button scanners - trigger button
28  ScannerButton_ForceDword = 0x7fffffff /* force 32-bit size enum */
29 };
30 
31 //! Scanner identification parameters
32 /*!
33  This struct represents a set of scanner distinguishable properties
34 */
35 struct ScannerId
36 {
37  int calibrationId; /*!< 32-bit integer scanner calibration ID */
38  base::ScannerType type; /*!< ScannerType enum value representing scanner type (model) */
39  int mainCameraType; /*!< 32-bit integer ID of the main camera type */
40  wchar_t name[MAX_NAME_LENGTH]; /*!< Scanner name in wide-chars */
41  wchar_t serial[MAX_ID_LENGTH]; /*!< Scanner serial number in wide-chars */
42  wchar_t license[MAX_NAME_LENGTH]; /*!< Scanner license number in wide-chars */
43  wchar_t mainCameraSerial[MAX_ID_LENGTH]; /*!< Main camera serial number in wide-chars */
44  bool isTextureCameraAvailable; /*!< bool param representing support of texture capturing */
45 };
46 
47 //! Deprecated. Don't use it! Instead of using \ref externalSynchronization, use \link artec::sdk::capturing::IScanner::setTextureUseHwTrigger setUseHwTrigger\endlink.
49 {
53 };
54 
55 //! Current scanner's parameters
57 {
58  int depthMapSizeX; /*!< X-component of the depth map size */
59  int depthMapSizeY; /*!< Y-component of the depth map size */
60  base::PixelFormat depthFormat; /*!< PixelFormat enum value. See @PixelFormat for details */
61 
62  bool isTextureCameraAvailable; /*!< bool param representing support of texture capturing */
63  int textureSizeX; /*!< X-wise size of texture available */
64  int textureSizeY; /*!< Y-wise size of texture available */
65 
66  int scannerButtonsMask; /*!< Bit mask of flags representing support of scanner's buttons (see @ScannerButton) */
67 
68  bool isExternalSynchronizationSupported; /*!< bool flag representing support of external synchronization */
69 
70  bool isGainAvailable; /*!< bool flag representing gain support for texture camera */
71 };
72 
73 } } } // namespace artec::sdk::capturing
74 
75 #endif // _SCANNERINFO_H_
#define MAX_ID_LENGTH
Definition: ScannerInfo.h:18
int depthMapSizeY
Y-component of the depth map size.
Definition: ScannerInfo.h:59
int textureSizeX
X-wise size of texture available.
Definition: ScannerInfo.h:63
bool isTextureCameraAvailable
bool param representing support of texture capturing
Definition: ScannerInfo.h:44
int calibrationId
32-bit integer scanner calibration ID
Definition: ScannerInfo.h:37
int textureSizeY
Y-wise size of texture available.
Definition: ScannerInfo.h:64
wchar_t license[MAX_NAME_LENGTH]
Scanner license number in wide-chars.
Definition: ScannerInfo.h:42
bool isTextureCameraAvailable
bool param representing support of texture capturing
Definition: ScannerInfo.h:62
base::ScannerType type
ScannerType enum value representing scanner type (model)
Definition: ScannerInfo.h:38
Current scanner's parameters.
Definition: ScannerInfo.h:56
wchar_t name[MAX_NAME_LENGTH]
Scanner name in wide-chars.
Definition: ScannerInfo.h:40
wchar_t mainCameraSerial[MAX_ID_LENGTH]
Main camera serial number in wide-chars.
Definition: ScannerInfo.h:43
Scanner identification parameters.
Definition: ScannerInfo.h:35
Deprecated. Don't use it! Instead of using externalSynchronization, use setUseHwTrigger.
Definition: ScannerInfo.h:48
PixelFormat
Types of an image pixel formats.
Definition: IImage.h:29
#define MAX_NAME_LENGTH
Definition: ScannerInfo.h:17
bool isExternalSynchronizationSupported
bool flag representing support of external synchronization
Definition: ScannerInfo.h:68
int mainCameraType
32-bit integer ID of the main camera type
Definition: ScannerInfo.h:39
int scannerButtonsMask
Bit mask of flags representing support of scanner's buttons (see )
Definition: ScannerInfo.h:66
bool isGainAvailable
bool flag representing gain support for texture camera
Definition: ScannerInfo.h:70
wchar_t serial[MAX_ID_LENGTH]
Scanner serial number in wide-chars.
Definition: ScannerInfo.h:41
int depthMapSizeX
X-component of the depth map size.
Definition: ScannerInfo.h:58
base::PixelFormat depthFormat
PixelFormat enum value.
Definition: ScannerInfo.h:60