YARP
Yet Another Robot Platform
yarp::sig::PixelRgb Struct Reference

Packed RGB pixel type. More...

#include <yarp/sig/Image.h>

Public Member Functions

 PixelRgb ()=default
 
 PixelRgb (unsigned char n_r, unsigned char n_g, unsigned char n_b)
 

Public Attributes

unsigned char r {0}
 
unsigned char g {0}
 
unsigned char b {0}
 

Detailed Description

Constructor & Destructor Documentation

◆ PixelRgb() [1/2]

yarp::sig::PixelRgb::PixelRgb ( )
default

◆ PixelRgb() [2/2]

yarp::sig::PixelRgb::PixelRgb ( unsigned char  n_r,
unsigned char  n_g,
unsigned char  n_b 
)
inline

Definition at line 470 of file Image.h.

Member Data Documentation

◆ b

unsigned char yarp::sig::PixelRgb::b {0}
Examples
imagemagick/main.cpp.

Definition at line 467 of file Image.h.

◆ g

unsigned char yarp::sig::PixelRgb::g {0}
Examples
imagemagick/main.cpp.

Definition at line 466 of file Image.h.

◆ r

unsigned char yarp::sig::PixelRgb::r {0}
Examples
imagemagick/main.cpp.

Definition at line 465 of file Image.h.


The documentation for this struct was generated from the following file: