ACF
$AcfVersion:0$
Acf
Include
icmm
CColorTransformationProvider.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2
#pragma once
3
4
5
// ACF includes
6
#include <
icmm/CHsvToRgbTransformation.h
>
7
#include <
icmm/CRgbToCmykTransformation.h
>
8
#include <
icmm/CCmykToRgbTransformation.h
>
9
10
11
namespace
icmm
12
{
13
14
18
class
CColorTransformationProvider
:
virtual
public
istd::IPolymorphic
19
{
20
public
:
21
enum
ColorType
22
{
23
HsvColor
= 0x0001,
24
CmykColor
= 0x0010,
25
RgbColor
= 0x0020,
26
LabColor
= 0x0040
27
};
28
29
CColorTransformationProvider
();
30
31
static
IColorTransformation
*
GetColorTransformation
(
int
inputColorType,
int
outputColorType);
32
33
private
:
34
static
icmm::CHsvToRgbTransformation
s_hsvToRgbTransform;
35
static
icmm::CRgbToCmykTransformation
s_rgbToCmykTransform;
36
static
icmm::CCmykToRgbTransformation
s_cmykToRgbTransform;
37
};
38
39
}
// namespace icmm
40
41
CCmykToRgbTransformation.h
CHsvToRgbTransformation.h
CRgbToCmykTransformation.h
icmm::CCmykToRgbTransformation
Implementation of CMYK-to-RGB color transformation.
Definition
CCmykToRgbTransformation.h:17
icmm::CColorTransformationProvider
Static provider of available color transformations.
Definition
CColorTransformationProvider.h:19
icmm::CColorTransformationProvider::CColorTransformationProvider
CColorTransformationProvider()
icmm::CColorTransformationProvider::GetColorTransformation
static IColorTransformation * GetColorTransformation(int inputColorType, int outputColorType)
icmm::CColorTransformationProvider::ColorType
ColorType
Definition
CColorTransformationProvider.h:22
icmm::CColorTransformationProvider::HsvColor
@ HsvColor
Definition
CColorTransformationProvider.h:23
icmm::CColorTransformationProvider::CmykColor
@ CmykColor
Definition
CColorTransformationProvider.h:24
icmm::CColorTransformationProvider::LabColor
@ LabColor
Definition
CColorTransformationProvider.h:26
icmm::CColorTransformationProvider::RgbColor
@ RgbColor
Definition
CColorTransformationProvider.h:25
icmm::CHsvToRgbTransformation
Implementation of HSV-to-RGB color transformation.
Definition
CHsvToRgbTransformation.h:17
icmm::CRgbToCmykTransformation
Implementation of RGB-to-CMYK color transformation.
Definition
CRgbToCmykTransformation.h:17
icmm::IColorTransformation
Basic interface for color transformations between color models.
Definition
IColorTransformation.h:175
istd::IPolymorphic
Base interface for all used interfaces and implementations.
Definition
IPolymorphic.h:18
icmm
Contains color management classes.
Definition
CCieLabColor.h:11
Generated by
1.9.8