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.
vision_exceptions.h
Go to the documentation of this file.
1 #ifndef CVD_INCLUDE_VISION_EXCEPTIONS_H
2 #define CVD_INCLUDE_VISION_EXCEPTIONS_H
3 
4 #include "exceptions.h"
5 
6 namespace CVD {
7 
8  namespace Exceptions {
9 
12  namespace Vision {
15  struct All: public CVD::Exceptions::All {};
16 
19  struct IncompatibleImageSizes : public All {
20  IncompatibleImageSizes(const std::string & function)
21  {
22  what = "Incompatible image sizes in " + function;
23  };
24  };
25 
28  struct ImageRefNotInImage : public All {
29  ImageRefNotInImage(const std::string & function)
30  {
31  what = "Input ImageRefs not in image in " + function;
32  };
33  };
34  };
35  }
36 }
37 
38 #endif
39 
IncompatibleImageSizes(const std::string &function)
Definition: abs.h:24
ImageRefNotInImage(const std::string &function)
std::string what
The error message.
Definition: exceptions.h:38