Zivid C++ API 2.14.0+e4a0c4a9-1
Color.h File Reference
#include <Zivid/Detail/DataFormatUtils.h>
#include <Zivid/Detail/UtilsExport.h>
#include <cstdint>
#include <iosfwd>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

struct  Zivid::ColorRGBABase< T >
 
struct  Zivid::ColorSRGB
 Color with 8-bit red, green, blue and alpha channels in the sRGB color space. More...
 
struct  Zivid::ColorRGBA
 Color with 8-bit red, green, blue and alpha channels. More...
 
struct  Zivid::ColorBGRABase< T >
 
struct  Zivid::ColorBGRA
 Color with 8-bit blue, green, red and alpha channels. More...
 

Namespaces

namespace  Zivid
 The main Zivid namespace. All Zivid code is found here.
 

Functions

template<typename T >
std::ostream & Zivid::operator<< (std::ostream &stream, const ColorRGBABase< T > &color)
 Serialize the value to a stream.
 
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorSRGB, 4)
 
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorRGBA, 4)
 
template<typename T >
std::ostream & Zivid::operator<< (std::ostream &stream, const ColorBGRABase< T > &color)
 Serialize the value to a stream.
 
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorBGRA, 4)