Nuitrack  1.6.0
3D Skeleton Tracking Middleware
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
FrameBorderIssue.h
1 #ifndef NUITRACK_FRAMEBORDERISSUE_H_
2 #define NUITRACK_FRAMEBORDERISSUE_H_
3 
4 #include "Issue.h"
5 #ifdef __aarch64__
6 #include "nuitrack/types/Export.h"
7 #endif
8 namespace tdv
9 {
10 namespace nuitrack
11 {
16 #if defined(ANDROID) && defined(__aarch64__)
17 class MIDDLEWARE_API FrameBorderIssue : public Issue
18 #else
19 class FrameBorderIssue : public Issue
20 #endif
21 
22 {
23 public:
27  typedef std::shared_ptr<FrameBorderIssue> Ptr;
28 
32  static std::string getType()
33  {
34  static std::string _type = "FrameBorderIssue";
35  return _type;
36  }
37 
38  bool isTop() const
39  {
40  return _top;
41  }
42  bool isLeft() const
43  {
44  return _left;
45  }
46  bool isRight() const
47  {
48  return right;
49  }
50  void setTop(bool isTop)
51  {
52  this->_top = isTop;
53  }
54  void setLeft(bool isLeft)
55  {
56  this->_left = isLeft;
57  }
58  void setRight(bool isRight)
59  {
60  this->right = isRight;
61  }
62 
63 #if defined(ANDROID) && defined(__aarch64__)
64  virtual ~FrameBorderIssue();
65 #endif
66 
70  Issue(FRAME_BORDER_ISSUE, "FrameBorderIssue"),
71  _top(false),
72  _left(false),
73  right(false)
74  {}
75 
79  FrameBorderIssue(bool left, bool right, bool top) :
80  Issue(FRAME_BORDER_ISSUE, "FrameBorderIssue"),
81  _top(top),
82  _left(left),
83  right(right)
84  {}
85 
86 private:
87  bool _top;
88  bool _left;
89  bool right;
90 };
91 
92 }
93 }
94 
95 #endif /* NUITRACK_FRAMEBORDERISSUE_H_ */
FrameBorderIssue()
Constructs a default frame border issue object.
Definition: FrameBorderIssue.h:69
Stores general information about a issue.
Definition: Issue.h:30
FrameBorderIssue(bool left, bool right, bool top)
Constructs a frame border issue object from its properties.
Definition: FrameBorderIssue.h:79
std::shared_ptr< FrameBorderIssue > Ptr
Smart pointer to access the FrameBorderIssue instance.
Definition: FrameBorderIssue.h:27
Represents the frame bodrer issue.
Definition: FrameBorderIssue.h:19
static std::string getType()
Returns the issue type as a string.
Definition: FrameBorderIssue.h:32