Zivid C++ API 2.18.0+1b44dbef-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...
struct  Zivid::ColorRGBAf
 Color with 32-bit red, green, blue and alpha channels. More...
struct  Zivid::ColorRGBBase< T >
struct  Zivid::ColorRGB
 Color with 8-bit red, green and blue channels (no alpha) More...
struct  Zivid::ColorRGB_SRGB
 Color with 8-bit red, green and blue channels (no alpha) in the sRGB color space. More...
struct  Zivid::ColorBGRBase< T >
struct  Zivid::ColorBGR
 Color with 8-bit blue, green and red channels (no alpha) More...
struct  Zivid::ColorBGR_SRGB
 Color with 8-bit blue, green and red channels (no alpha) 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)
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorRGBAf, 16)
template<typename T>
std::ostream & Zivid::operator<< (std::ostream &stream, const ColorRGBBase< T > &color)
 Serialize the value to a stream.
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorRGB, 3)
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorRGB_SRGB, 3)
template<typename T>
std::ostream & Zivid::operator<< (std::ostream &stream, const ColorBGRBase< T > &color)
 Serialize the value to a stream.
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorBGR, 3)
 Zivid::ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE (ColorBGR_SRGB, 3)