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