1 #ifndef MF_POINT_CLOUD_POINT_H_
2 #define MF_POINT_CLOUD_POINT_H_
7 #include "../elem_tuple.h"
43 auto position() {
return get<0>(*this).position(); }
44 auto position()
const {
return get<0>(*this).position(); }
63 auto position() {
return get<0>(*this).position(); }
64 auto position()
const {
return get<0>(*this).position(); }
rgb_color & color()
Definition: point.h:72
auto position() const
Definition: point.h:64
real Eigen_scalar
Floating point type used for Eigen objects.
Definition: eigen.h:19
Point cloud point with XYZ coordinates, and RGB color.
Definition: point.h:35
Eigen_vec3 & normal()
Definition: point.h:66
auto position()
Definition: point.h:43
Heterogeneous tuple of items.
Definition: elem_tuple.h:16
const rgb_color & color() const
Definition: point.h:73
bool is_null() const noexcept
Definition: point.h:26
Point cloud point with only XYZ coordinates.
Definition: point.h:14
point_xyz()
Definition: point.h:17
Point cloud point with XYZ coordinates, normal vector, weight, and RGB color.
Definition: point.h:52
auto position() const
Definition: point.h:24
const Eigen_vec3 & normal() const
Definition: point.h:67
point_xyz(const Eigen_vec3 &pos)
Definition: point.h:20
Eigen_scalar & weight()
Definition: point.h:69
Elem traits base class with the required members.
Definition: elem.h:14
point_full(const base &tup)
Definition: point.h:55
Eigen_vec4 homogeneous_coordinates
Definition: point.h:15
auto position() const
Definition: point.h:44
point_full(const point_xyzrgb &xyzrgb)
Definition: point.h:60
rgb_color & color()
Definition: point.h:46
Default elem traits, using Elem as standard layout scalar type.
Definition: elem.h:30
auto position()
Definition: point.h:63
point_xyzrgb(const base &tup)
Definition: point.h:38
const Eigen_scalar & weight() const
Definition: point.h:70
RGB color, 8 bit.
Definition: color.h:27
point_full(const point_xyz &xyz)
Definition: point.h:57
const rgb_color & color() const
Definition: point.h:47
Eigen_mat< 4, 1 > Eigen_vec4
Definition: eigen.h:26
Eigen_mat< 3, 1 > Eigen_vec3
Definition: eigen.h:25
point_xyzrgb(const point_xyz &xyz)
Definition: point.h:40
auto position()
Definition: point.h:23