Zivid C++ API 2.17.1+7516d437-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...
struct  Zivid::ColorBGRA_SRGB
 Color with 8-bit blue, green, red and alpha channels in the sRGB color space. More...

Namespaces

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

Typedefs

using Zivid::ColorRGBA_SRGB = ColorSRGB
 Color with 8-bit red, green, blue and alpha channels in the sRGB color space.

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)
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorBGRA_SRGB, 4)