Artec 3D Scanning SDK  2.0
IFrame.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Container for raw data captured by scanner
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 #ifndef _IFRAME_H_
11 #define _IFRAME_H_
12 
13 #include <artec/sdk/base/IRef.h>
14 #include <artec/sdk/base/IImage.h>
16 
17 namespace artec { namespace sdk { namespace capturing
18 {
19 
22 
23 /** Interface for captured frame (image + depth). Don't confuse it with IFrameMesh!
24 */
26 {
27 public:
28  /** Used for sorting frames in the capture order both in the single and the multi-thread modes.
29  * @return int frame number.
30  */
31  virtual int getFrameNumber() const = 0;
32 
33  /** Returns raw texture image without correction.
34  * See IScanner::convertTextureFull.
35  * @return pointer to the raw texture image.
36  */
37  virtual const IImage* getTexture() const = 0;
38 
39  /** Returns depth image. It doesn't work for Artec 3D scanners!
40  * @return pointer to depth image.
41  */
42  virtual const IImage* getDepth() const = 0;
43 
44  /** Returns frame capture time stamp. Return high-precision time for Artec scanners.
45  * @return pointer to TimeStamp.
46  */
47  virtual const TimeStamp* getCaptureTimeStamp() const = 0;
48 };
49 
50 } } } // namespace artec::sdk::capturing
51 
52 #endif // _IFRAME_H_
Interface for common raster image objects.
Definition: IImage.h:126
virtual int getFrameNumber() const =0
Used for sorting frames in the capture order both in the single and the multi-thread modes...
virtual const IImage * getDepth() const =0
Returns depth image.
Time stamp structure.
Definition: TimeStamp.h:20
Interface for captured frame (image + depth).
Definition: IFrame.h:25
virtual const TimeStamp * getCaptureTimeStamp() const =0
Returns frame capture time stamp.
virtual const IImage * getTexture() const =0
Returns raw texture image without correction.
Interface that implements reference counting and life-time management.
Definition: IRef.h:22