mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
range_point_cloud.h
Go to the documentation of this file.
1 #ifndef MF_RANGE_POINT_CLOUD_H_
2 #define MF_RANGE_POINT_CLOUD_H_
3 
4 #include "point_cloud.h"
5 
6 namespace mf {
7 
8 template<typename Point>
9 class range_point_cloud : public point_cloud<Point> {
10  using base = point_cloud<Point>;
11 
12 private:
14 
15 public:
17  base(arr.reshape(make_ndsize(arr.size()))), view_(arr) { }
18 };
19 
20 }
21 
22 #endif
range_point_cloud(const ndarray_view< 2, Point > &arr)
Definition: range_point_cloud.h:16
Definition: range_point_cloud.h:9
Definition: point_cloud.h:9
auto make_ndsize(Components...c)
Definition: ndcoord.h:187