ACF $AcfVersion:0$
ISubstractiveColorModel.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
7#include <icmm/IColorModel.h>
8
9// std
10#include <memory>
11
12
13namespace icmm
14{
15
16
17class ICieLabColor;
18
19
21{
22public:
26 virtual bool GetColorantVisualInfo(const ColorantId& colorantId, icmm::ICieLabColor& preview) const = 0;
27
31 virtual std::unique_ptr<ISubstractiveColorModel> CreateSubspaceModel(const QStringList& colorantIds) const = 0;
32};
33
34
35} // namespace icmm
36
37
Common interface for color model definitions in the ACF color management system.
Common interface for a colorant list used in a substractive color model.
virtual std::unique_ptr< ISubstractiveColorModel > CreateSubspaceModel(const QStringList &colorantIds) const =0
Create ColorModel of the subspace.
virtual bool GetColorantVisualInfo(const ColorantId &colorantId, icmm::ICieLabColor &preview) const =0
Get visual information/preview for the given colorant.
Contains color management classes.