SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
is_pod.h
Go to the documentation of this file.
1 #ifndef CVD_IS_POD_H
2 #define CVD_IS_POD_H
3 #include <limits>
4 
5 namespace CVD{
6 namespace Internal{
7 
8  //Define is_POD for all builtin data types, all pointer types and
9  //arrays.
10  template<class C> struct is_POD
11  {
12  enum { is_pod = std::numeric_limits<C>::is_specialized };
13  };
14 
15  template<class C> struct is_POD<C*>
16  {
17  enum { is_pod = true };
18  };
19 
20  template<class C, int i> struct is_POD<C[i]>
21  {
23  };
24 
25 }
26 }
27 
28 #endif
Definition: abs.h:24