Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
Public Member Functions | List of all members
Zivid::ColorBGRA Struct Reference

Color with 8-bit blue, green, red and alpha channels More...

#include <Zivid/Color.h>

Inheritance diagram for Zivid::ColorBGRA:
Zivid::ColorBGRABase< uint8_t >

Public Member Functions

 ColorBGRABase ()=default
 Constructor More...
 
 ColorBGRABase (T blue, T green, T red, T alpha)
 Constructor More...
 
- Public Member Functions inherited from Zivid::ColorBGRABase< uint8_t >
 ColorBGRABase ()=default
 Constructor More...
 
 ColorBGRABase (uint8_t blue, uint8_t green, uint8_t red, uint8_t alpha)
 Constructor More...
 
ZIVID_CORE_EXPORT bool operator== (const ColorBGRABase &rhs) const
 Check for equality More...
 
ZIVID_CORE_EXPORT bool operator!= (const ColorBGRABase &rhs) const
 Check for inequality More...
 
std::string toString () const
 Get string representation More...
 

Additional Inherited Members

- Public Types inherited from Zivid::ColorBGRABase< uint8_t >
using ValueType = uint8_t
 The type of the channel values More...
 
- Public Attributes inherited from Zivid::ColorBGRABase< uint8_t >
uint8_t b
 Blue channel More...
 
uint8_t g
 Green channel More...
 
uint8_t r
 Red channel More...
 
uint8_t a
 Alpha channel More...
 

Detailed Description

Color with 8-bit blue, green, red and alpha channels

The order of the members is b, g, r, a, and each member is represented as an uint8_t. The members have values from 0 to 255. This type differs from ColorRGBA only in the order of the channels (BGRA vs. RGBA).

Member Function Documentation

◆ ColorBGRABase() [1/2]

Zivid::ColorBGRABase< T >::ColorBGRABase ( )
default

Constructor

◆ ColorBGRABase() [2/2]

Zivid::ColorBGRABase< T >::ColorBGRABase ( blue,
green,
red,
alpha 
)
inline

Constructor


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