YARP  2.3.68+220-20170323.2+git4955ef0
Yet Another Robot Platform
yarp::sig::PixelRgba Struct Reference

Packed RGBA pixel type. More...

#include <yarp/sig/Image.h>

Public Member Functions

 PixelRgba ()
 
 PixelRgba (unsigned char n_r, unsigned char n_g, unsigned char n_b, unsigned char n_a)
 

Public Attributes

unsigned char r
 
unsigned char g
 
unsigned char b
 
unsigned char a
 

Detailed Description

Packed RGBA pixel type.

Definition at line 431 of file Image.h.

Constructor & Destructor Documentation

◆ PixelRgba() [1/2]

yarp::sig::PixelRgba::PixelRgba ( )
inline

Definition at line 435 of file Image.h.

◆ PixelRgba() [2/2]

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

Definition at line 436 of file Image.h.

Member Data Documentation

◆ a

unsigned char yarp::sig::PixelRgba::a

Definition at line 433 of file Image.h.

◆ b

unsigned char yarp::sig::PixelRgba::b

Definition at line 433 of file Image.h.

◆ g

unsigned char yarp::sig::PixelRgba::g

Definition at line 433 of file Image.h.

◆ r

unsigned char yarp::sig::PixelRgba::r

Definition at line 433 of file Image.h.


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