Point Cloud Library (PCL)
1.11.1-dev
|
40 #include <pcl/cuda/common/point_type_rgb.h>
51 inline __host__ __device__
PointXYZRGB (
float _x,
float _y,
float _z,
int _rgb) :
52 x(_x),
y(_y),
z(_z),
rgb(_rgb) {}
69 return (
x == rhs.
x &&
y == rhs.
y &&
z == rhs.
z &&
rgb == rhs.
rgb);
73 inline __host__ __device__
operator float3 ()
const
121 inline __host__ __device__
PointXYZRGBNormal (
float _x,
float _y,
float _z,
int _rgb) :
122 x(_x), y(_y), z(_z), rgb(_rgb) {}
150 return (x == rhs.x && y == rhs.y && z == rhs.z && rgb == rhs.rgb && normal_x == rhs.normal_x && normal_y == rhs.normal_y && normal_z == rhs.normal_z);
154 inline __host__ __device__
operator float3 ()
const
173 normal += rhs.normal;
181 normal -= rhs.normal;
189 normal *= rhs.normal;
197 normal /= rhs.normal;
__host__ __device__ PointXYZRGB & operator+=(const PointXYZRGB &rhs)
Default point xyz-rgb structure.
__host__ __device__ PointXYZRGB & operator/=(const PointXYZRGB &rhs)
struct __align__(16) PointXYZRGBNormal
Default point xyz-rgb structure.
__host__ __device__ PointXYZRGB & operator*=(const PointXYZRGB &rhs)
__host__ __device__ PointXYZRGB & operator-=(const PointXYZRGB &rhs)
Default RGB structure, defined as a union over 4 chars.
__host__ __device__ PointXYZRGB()
A point structure representing Euclidean xyz coordinates, and the RGB color, together with normal coo...
__host__ __device__ PointXYZRGB(float _x, float _y, float _z, int _rgb)
__host__ __device__ bool operator==(const PointXYZRGB &rhs)
const __host__ __device__ PointXYZRGB operator-(const PointXYZRGB &rhs) const
bool operator==(const PCLHeader &lhs, const PCLHeader &rhs)