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