Zivid C++ API 2.18.0+1b44dbef-1
Zivid::ColorBGRBase< T > Struct Template Reference

#include <Zivid/Color.h>

Public Types

using ValueType = T
 The type of the channel values.

Public Member Functions

 ColorBGRBase ()=default
 Constructor.
 ColorBGRBase (T blue, T green, T red)
 Constructor.
ZIVID_UTILS_EXPORT bool operator== (const ColorBGRBase &rhs) const
 Check for equality.
ZIVID_UTILS_EXPORT bool operator!= (const ColorBGRBase &rhs) const
 Check for inequality.
std::string toString () const
 Get string representation.

Public Attributes

b
 Blue channel.
g
 Green channel.
r
 Red channel.

Member Typedef Documentation

◆ ValueType

template<typename T>
using Zivid::ColorBGRBase< T >::ValueType = T

The type of the channel values.

Constructor & Destructor Documentation

◆ ColorBGRBase() [1/2]

template<typename T>
Zivid::ColorBGRBase< T >::ColorBGRBase ( )
default

Constructor.

◆ ColorBGRBase() [2/2]

template<typename T>
Zivid::ColorBGRBase< T >::ColorBGRBase ( T blue,
T green,
T red )
inline

Constructor.

Member Function Documentation

◆ operator!=()

template<typename T>
ZIVID_UTILS_EXPORT bool Zivid::ColorBGRBase< T >::operator!= ( const ColorBGRBase< T > & rhs) const

Check for inequality.

◆ operator==()

template<typename T>
ZIVID_UTILS_EXPORT bool Zivid::ColorBGRBase< T >::operator== ( const ColorBGRBase< T > & rhs) const

Check for equality.

◆ toString()

template<typename T>
std::string Zivid::ColorBGRBase< T >::toString ( ) const
inline

Get string representation.

Member Data Documentation

◆ b

template<typename T>
T Zivid::ColorBGRBase< T >::b

Blue channel.

◆ g

template<typename T>
T Zivid::ColorBGRBase< T >::g

Green channel.

◆ r

template<typename T>
T Zivid::ColorBGRBase< T >::r

Red channel.


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