MaterialX 1.39.1
Loading...
Searching...
No Matches
DefaultColorManagementSystem.h
Go to the documentation of this file.
1//
2// Copyright Contributors to the MaterialX Project
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#ifndef MATERIALX_DEFAULT_COLOR_MANAGEMENT_SYSTEM_H
7#define MATERIALX_DEFAULT_COLOR_MANAGEMENT_SYSTEM_H
8
11
13
14MATERIALX_NAMESPACE_BEGIN
15
17using DefaultColorManagementSystemPtr = shared_ptr<class DefaultColorManagementSystem>;
18
22{
23 public:
25
27 static DefaultColorManagementSystemPtr create(const string& target);
28
30 const string& getName() const override;
31
32 protected:
34 NodeDefPtr getNodeDef(const ColorSpaceTransform& transform) const override;
35
37 DefaultColorManagementSystem(const string& target);
38
39 private:
40 string _target;
41};
42
43MATERIALX_NAMESPACE_END
44
45#endif
Color management system classes.
shared_ptr< class DefaultColorManagementSystem > DefaultColorManagementSystemPtr
A shared pointer to a DefaultColorManagementSystem.
Definition: DefaultColorManagementSystem.h:17
shared_ptr< NodeDef > NodeDefPtr
A shared pointer to a NodeDef.
Definition: Definition.h:32
Abstract base class for color management systems.
Definition: ColorManagementSystem.h:49
Class for a default color management system.
Definition: DefaultColorManagementSystem.h:22
DefaultColorManagementSystem(const string &target)
Protected constructor.
NodeDefPtr getNodeDef(const ColorSpaceTransform &transform) const override
Returns a nodedef for a given transform.
const string & getName() const override
Return the DefaultColorManagementSystem name.
static DefaultColorManagementSystemPtr create(const string &target)
Create a new DefaultColorManagementSystem.
Structure that represents color space transform information.
Definition: ColorManagementSystem.h:30