MachineIntelligenceCore:Algorithms
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mic::types::color_rgba Class Reference

Class for storing single a pixel of four channel (RGBA) image. More...

#include <Color.hpp>

Public Member Functions

 color_rgba ()
 
 color_rgba (uint8_t r_, uint8_t g_, uint8_t b_, uint8_t a_)
 

Public Attributes

uint8_t r
 Value of R component. More...
 
uint8_t g
 Value of G component. More...
 
uint8_t b
 Value of B component. More...
 
uint8_t a
 Value of A component. More...
 

Detailed Description

Class for storing single a pixel of four channel (RGBA) image.

Author
krocki/tkornuta

Definition at line 55 of file Color.hpp.

Constructor & Destructor Documentation

mic::types::color_rgba::color_rgba ( )
inline

Default constructor, zeros components.

Definition at line 69 of file Color.hpp.

References a, b, g, and r.

mic::types::color_rgba::color_rgba ( uint8_t  r_,
uint8_t  g_,
uint8_t  b_,
uint8_t  a_ 
)
inline

Constructor setting up values of components to the one passed as parameters.

Definition at line 77 of file Color.hpp.

Member Data Documentation

uint8_t mic::types::color_rgba::a

Value of A component.

Definition at line 64 of file Color.hpp.

Referenced by color_rgba().

uint8_t mic::types::color_rgba::b

Value of B component.

Definition at line 62 of file Color.hpp.

Referenced by color_rgba().

uint8_t mic::types::color_rgba::g

Value of G component.

Definition at line 60 of file Color.hpp.

Referenced by color_rgba().

uint8_t mic::types::color_rgba::r

Value of R component.

Definition at line 58 of file Color.hpp.

Referenced by color_rgba().


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