ACF $AcfVersion:0$
IColorSpecification.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// STL includes
6#include <memory>
7
8// ACF includes
9#include <iser/IObject.h>
10#include <icmm/icmm.h>
11
12
13namespace icmm
14{
15
16
168{
169public:
170 typedef std::shared_ptr<const IColorSpecification> ConstColorSpecPtr;
171 typedef std::shared_ptr<IColorSpecification> ColorSpecPtr;
172
174 {
179
184 };
186
197 virtual SpecType GetSpecificationType() const = 0;
198};
199
200
201} // namespace icmm
202
203
Interface for color space specification information.
@ Tristimulus
Tristimulus-based specification (e.g., RGB with primaries and white point).
@ Spectral
Spectral-based specification (full wavelength representation).
virtual SpecType GetSpecificationType() const =0
Gets the logical type of the specification.
std::shared_ptr< const IColorSpecification > ConstColorSpecPtr
I_DECLARE_ENUM(SpecType, Tristimulus, Spectral)
std::shared_ptr< IColorSpecification > ColorSpecPtr
Common interface for factorisable model objects.
Definition IObject.h:23
Contains color management classes.