SCENE C++ API  2.1.0
lsoverlay3d.h
1 #pragma once
2 
3 #include <core_api/lsglobaldefinitions.h>
4 
5 #include <plugin_api/lsrenderable3d.h>
6 
7 namespace SCENE_API {
8 
12 {
13 public:
17  {
18  m_position = Eigen::Vector2ui(0,0);
19  }
20 
24  Eigen::Vector2ui getPosition() const
25  {
26  return m_position;
27  }
28 
33  void setPosition(Eigen::Vector2ui position)
34  {
35  m_position = position;
36  }
37 
38 protected:
39  // The position of this overlay in screen coordinates
40  Eigen::Vector2ui m_position;
41 };
42 
43 }