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

Packed RGBA pixel type. More...

#include <yarp/sig/Image.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Packed RGBA pixel type.

Definition at line 474 of file Image.h.

Constructor & Destructor Documentation

◆ PixelRgba() [1/2]

yarp::sig::PixelRgba::PixelRgba ( )
default

◆ 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 477 of file Image.h.

Member Data Documentation

◆ a

unsigned char yarp::sig::PixelRgba::a {0}

Definition at line 491 of file Image.h.

◆ b

unsigned char yarp::sig::PixelRgba::b {0}

Definition at line 490 of file Image.h.

◆ g

unsigned char yarp::sig::PixelRgba::g {0}

Definition at line 489 of file Image.h.

◆ r

unsigned char yarp::sig::PixelRgba::r {0}

Definition at line 488 of file Image.h.


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