roviz  0.7
Code Documentation of roviz
sparse_types.h
1 #ifndef SPARSE_TYPES_H
2 #define SPARSE_TYPES_H
3 
4 #include "core/export_handling.h"
5 
6 class ROVIZ_EXPORT Point2D
7 {
8  public:
9  int x, y, group;
10 
11  Point2D() = default;
12  Point2D(int _x, int _y, int _g = 0);
13 };
14 
15 class ROVIZ_EXPORT Point2F
16 {
17 public:
18  double x, y; int group;
19 
20  Point2F() = default;
21  Point2F(double _x, double _y, int _g = 0);
22 
23 };
24 
25 class ROVIZ_EXPORT Point3D
26 {
27 public:
28  int x, y, z, group;
29 
30  Point3D() = default;
31  Point3D(int _x, int _y, int _z, int _g = 0);
32 };
33 
34 class ROVIZ_EXPORT Point3F
35 {
36 public:
37  double x, y, z; int group;
38 
39  Point3F() = default;
40  Point3F(double _x, double _y, double _z, int _g = 0);
41 };
42 
43 class ROVIZ_EXPORT Rect
44 {
45 public:
46  int left, top, width, height, group;
47 
48  Rect() = default;
49  Rect(int _l, int _t, int _h, int _w, int _g = 0);
50 };
51 
52 class ROVIZ_EXPORT RectF
53 {
54 public:
55  double left, top, width, height; int group;
56 
57  RectF() = default;
58  RectF(double _l, double _t, double _h, double _w, double _g = 0);
59 };
60 
61 class ROVIZ_EXPORT Circle
62 {
63 public:
64  int x, y, r, group;
65 
66  Circle() = default;
67  Circle(int _x, int _y, int _r, int _g = 0);
68 };
69 
70 class ROVIZ_EXPORT CircleF
71 {
72 public:
73  double x, y, r; int group;
74 
75  CircleF() = default;
76  CircleF(double _x, double _y, double _r, double _g = 0);
77 };
78 
79 #endif // SPARSE_TYPES_H
Definition: sparse_types.h:43
Definition: sparse_types.h:25
Definition: sparse_types.h:15
Definition: sparse_types.h:52
Definition: sparse_types.h:70
Definition: sparse_types.h:61
Definition: sparse_types.h:6
Definition: sparse_types.h:34