Zivid C++ API 2.13.1+18e79e79-1
|
#include <Zivid/Color.h>
Public Types | |
using | ValueType = T |
The type of the channel values. | |
Public Member Functions | |
ColorBGRABase ()=default | |
Constructor. | |
ColorBGRABase (T blue, T green, T red, T alpha) | |
Constructor. | |
ZIVID_CORE_EXPORT bool | operator== (const ColorBGRABase &rhs) const |
Check for equality. | |
ZIVID_CORE_EXPORT bool | operator!= (const ColorBGRABase &rhs) const |
Check for inequality. | |
std::string | toString () const |
Get string representation. | |
Public Attributes | |
T | b |
Blue channel. | |
T | g |
Green channel. | |
T | r |
Red channel. | |
T | a |
Alpha channel. | |
using Zivid::ColorBGRABase< T >::ValueType = T |
The type of the channel values.
|
default |
Constructor.
|
inline |
Constructor.
ZIVID_CORE_EXPORT bool Zivid::ColorBGRABase< T >::operator!= | ( | const ColorBGRABase< T > & | rhs | ) | const |
Check for inequality.
ZIVID_CORE_EXPORT bool Zivid::ColorBGRABase< T >::operator== | ( | const ColorBGRABase< T > & | rhs | ) | const |
Check for equality.
|
inline |
Get string representation.
T Zivid::ColorBGRABase< T >::a |
Alpha channel.
T Zivid::ColorBGRABase< T >::b |
Blue channel.
T Zivid::ColorBGRABase< T >::g |
Green channel.
T Zivid::ColorBGRABase< T >::r |
Red channel.