IArrayScanner.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Store scanner array.
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 
11 #ifndef _ISCANNERARRAY_H_
12 #define _ISCANNERARRAY_H_
13 
14 #include <artec/sdk/base/Errors.h>
15 #include <artec/sdk/base/IRef.h>
17 
18 namespace artec { namespace sdk { namespace capturing
19 {
20  class IScanner;
21 } } }
22 
23 namespace artec { namespace sdk { namespace scanning
24 {
25 using namespace artec::sdk::base::errors;
26 
27 class IArrayScanner;
28 
29 extern "C"
30 {
31 
33  createArrayScanner(IArrayScanner** pArray, int elementsCount);
34 
35 }
36 
37 class IArrayScanner : public base::IRef
38 {
39 public:
40  /// Get Array elements count.
41  virtual int getSize() const = 0;
42 
43  /// Get pointer to the string
44  virtual artec::sdk::capturing::IScanner* getElement(int index) const = 0;
45 
46  /// set string to array
47  virtual void setElement(int index, const artec::sdk::capturing::IScanner* scanner) = 0;
48 };
49 
50 } } } // namespace artec::sdk::scanning
51 
52 #endif // _ISCANNERARRAY_H_
ErrorCode ASCANNINGSDK_LINK_SPEC createArrayScanner(IArrayScanner **pArray, int elementsCount)
This namespace is auto-generated from internal event code list.
Definition: Errors.h:55
#define ASCANNINGSDK_LINK_SPEC