Default RGB structure, defined as a union over 4 chars. More...
#include </__w/1/s/cuda/common/include/pcl/cuda/common/point_type_rgb.h>
Public Member Functions |
|
__host__ __device__ | RGB () |
__host__ __device__ | RGB (int _rgb) |
__host__ __device__ | RGB (char _r, char _g, char _b, char _alpha) |
__host__ __device__ bool | operator== (const RGB &rhs) const |
__host__ __device__ RGB & | operator- (RGB &rhs) |
__host__ __device__ RGB & | operator+= (const RGB &rhs) |
__host__ __device__ RGB & | operator-= (const RGB &rhs) |
__host__ __device__ RGB & | operator*= (const RGB &rhs) |
__host__ __device__ RGB & | operator/= (const RGB &rhs) |
Public Attributes |
|
int | rgb |
struct { | |
char r | |
char g | |
char b | |
char alpha | |
}; | |
Detailed Description
Default RGB structure, defined as a union over 4 chars.
Definition at line 51 of file point_type_rgb.h.
Constructor & Destructor Documentation
RGB() [1/3]
|
inline |
Definition at line 62 of file point_type_rgb.h.
RGB() [2/3]
|
inline |
Definition at line 63 of file point_type_rgb.h.
RGB() [3/3]
|
inline |
Definition at line 64 of file point_type_rgb.h.
Member Function Documentation
operator*=()
operator+=()
operator-()
operator-=()
operator/=()
operator==()
|
inline |
Member Data Documentation
@69
struct { ... } |
alpha
char pcl::cuda::RGB::alpha |
Definition at line 59 of file point_type_rgb.h.
Referenced by operator*=(), operator+=(), operator-(), operator-=(), operator/=(), and operator==().
b
char pcl::cuda::RGB::b |
Definition at line 58 of file point_type_rgb.h.
Referenced by pcl::cuda::SetColor::operator()(), pcl::cuda::ChangeColor::operator()(), operator*=(), operator+=(), operator-(), operator-=(), operator/=(), and operator==().
g
char pcl::cuda::RGB::g |
Definition at line 57 of file point_type_rgb.h.
Referenced by pcl::cuda::SetColor::operator()(), pcl::cuda::ChangeColor::operator()(), operator*=(), operator+=(), operator-(), operator-=(), operator/=(), and operator==().
r
char pcl::cuda::RGB::r |
Definition at line 56 of file point_type_rgb.h.
Referenced by pcl::cuda::SetColor::operator()(), pcl::cuda::ChangeColor::operator()(), operator*=(), operator+=(), operator-(), operator-=(), operator/=(), and operator==().
rgb
int pcl::cuda::RGB::rgb |
Definition at line 53 of file point_type_rgb.h.
The documentation for this union was generated from the following file:
- /__w/1/s/cuda/common/include/pcl/cuda/common/point_type_rgb.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/unionpcl_1_1cuda_1_1_r_g_b.html