39 #include <pcl/cuda/cutil_math.h>
62 inline __host__ __device__
RGB () {}
63 inline __host__ __device__
RGB (
int _rgb) :
rgb(_rgb) {}
64 inline __host__ __device__
RGB (
char _r,
char _g,
char _b,
char _alpha) :
65 r(_r),
g(_g),
b(_b),
alpha(_alpha) {}
Default RGB structure, defined as a union over 4 chars.
__host__ __device__ RGB()
__host__ __device__ RGB & operator-=(const RGB &rhs)
__host__ __device__ RGB & operator*=(const RGB &rhs)
__host__ __device__ RGB operator-(RGB &rhs)
__host__ __device__ RGB(int _rgb)
__host__ __device__ bool operator==(const RGB &rhs) const
__host__ __device__ RGB(char _r, char _g, char _b, char _alpha)
__host__ __device__ RGB & operator/=(const RGB &rhs)
__host__ __device__ RGB & operator+=(const RGB &rhs)