CColorTransformationProvider.h
Go to the documentation of this file.
1 #ifndef icmm_CColorTransformationProvider_included
2 #define icmm_CColorTransformationProvider_included
3 
4 
5 // ACF includes
9 
10 
11 namespace icmm
12 {
13 
14 
19 {
20 public:
21  enum ColorType
22  {
23  HsvColor = 0x0001,
24  CmykColor = 0x0010,
25  RgbColor = 0x0020,
26  LabColor = 0x0040
27  };
28 
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 
42 #endif // !icmm_CColorTransformationProvider_included
43 
44 
Static provider of available color transformations.
static IColorTransformation * GetColorTransformation(int inputColorType, int outputColorType)
Implementation of CMYK-to-RGB color transformation.
Implementation of RGB-to-CMYK color transformation.
Basic interface for a color transformation.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
Implementation of HSV-to-RGB color transformation.

© 2007-2017 Witold Gantzke and Kirill Lepskiy