base
Pointcloud.hpp
Go to the documentation of this file.
1 #ifndef BASE_POINTCLOUD_HPP
2 #define BASE_POINTCLOUD_HPP
3 
4 #include <vector>
5 #include <base/Time.hpp>
6 #include <base/Point.hpp>
7 
8 namespace base {
9 
10  typedef base::Vector3d Point;
11 
12  namespace samples {
13  struct Pointcloud
14  {
16 
17  std::vector<base::Point> points;
18 
19  /*
20  * Colors of each point if available,
21  * leave empty if points are uncolored.
22  * Otherwise, it should have the same size
23  * as the points vector.
24  */
25  std::vector<base::Vector4d> colors;
26  };
27 
28 
29 }}
30 
31 
32 #endif
33 
Definition: Pointcloud.hpp:13
Definition: Time.hpp:11
Vector3d Point
Definition: Point.hpp:8
std::vector< base::Vector4d > colors
Definition: Pointcloud.hpp:25
Definition: LinearAngular6DCommand.hpp:8
Eigen::Matrix< double, 3, 1, Eigen::DontAlign > Vector3d
Definition: Eigen.hpp:20
Time time
Definition: Pointcloud.hpp:15
std::vector< base::Point > points
Definition: Pointcloud.hpp:17