2013-11-22 11:48:10 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// STL includes
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
// Utils includes
|
|
|
|
#include <utils/RgbChannelTransform.h>
|
|
|
|
#include <utils/HsvTransform.h>
|
2016-03-10 17:57:52 +01:00
|
|
|
#include <utils/HslTransform.h>
|
2013-11-22 11:48:10 +01:00
|
|
|
|
|
|
|
class ColorTransform
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
/// Unique identifier for this color transform
|
|
|
|
std::string _id;
|
|
|
|
|
|
|
|
/// The RED-Channel (RGB) transform
|
|
|
|
RgbChannelTransform _rgbRedTransform;
|
|
|
|
/// The GREEN-Channel (RGB) transform
|
|
|
|
RgbChannelTransform _rgbGreenTransform;
|
|
|
|
/// The BLUE-Channel (RGB) transform
|
|
|
|
RgbChannelTransform _rgbBlueTransform;
|
|
|
|
|
|
|
|
/// The HSV Transform for applying Saturation and Value transforms
|
|
|
|
HsvTransform _hsvTransform;
|
2016-03-10 17:57:52 +01:00
|
|
|
|
|
|
|
/// The HSL Transform for applying Saturation and Value transforms
|
|
|
|
HslTransform _hslTransform;
|
2013-11-22 11:48:10 +01:00
|
|
|
};
|