2022-08-17 23:26:19 +02:00
|
|
|
#ifndef COLORADJUSTMENT_H
|
|
|
|
#define COLORADJUSTMENT_H
|
2016-04-02 00:04:11 +02:00
|
|
|
|
|
|
|
// STL includes
|
2017-03-04 22:17:42 +01:00
|
|
|
#include <QString>
|
2016-04-02 00:04:11 +02:00
|
|
|
|
|
|
|
// Utils includes
|
|
|
|
#include <utils/RgbChannelAdjustment.h>
|
2017-01-06 14:25:55 +01:00
|
|
|
#include <utils/RgbTransform.h>
|
2022-08-17 23:26:19 +02:00
|
|
|
#include <utils/OkhsvTransform.h>
|
2016-04-02 00:04:11 +02:00
|
|
|
|
|
|
|
class ColorAdjustment
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/// Unique identifier for this color transform
|
2017-03-04 22:17:42 +01:00
|
|
|
QString _id;
|
2020-08-08 00:21:19 +02:00
|
|
|
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The BLACK (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbBlackAdjustment;
|
|
|
|
/// The WHITE (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbWhiteAdjustment;
|
|
|
|
/// The RED (RGB-Channel) adjustment
|
2016-04-02 00:04:11 +02:00
|
|
|
RgbChannelAdjustment _rgbRedAdjustment;
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The GREEN (RGB-Channel) adjustment
|
2016-04-02 00:04:11 +02:00
|
|
|
RgbChannelAdjustment _rgbGreenAdjustment;
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The BLUE (RGB-Channel) adjustment
|
2016-04-02 00:04:11 +02:00
|
|
|
RgbChannelAdjustment _rgbBlueAdjustment;
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The CYAN (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbCyanAdjustment;
|
|
|
|
/// The MAGENTA (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbMagentaAdjustment;
|
|
|
|
/// The YELLOW (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbYellowAdjustment;
|
2017-01-06 14:25:55 +01:00
|
|
|
|
|
|
|
RgbTransform _rgbTransform;
|
2022-08-17 23:26:19 +02:00
|
|
|
OkhsvTransform _okhsvTransform;
|
2016-04-02 00:04:11 +02:00
|
|
|
};
|
2022-08-17 23:26:19 +02:00
|
|
|
|
|
|
|
#endif // COLORADJUSTMENT_H
|