HDK
|
#include <ColorManagementSystem.h>
Public Member Functions | |
virtual | ~ColorManagementSystem () |
virtual const string & | getName () const =0 |
Return the ColorManagementSystem name. More... | |
virtual void | loadLibrary (DocumentPtr document) |
bool | supportsTransform (const ColorSpaceTransform &transform) const |
Returns whether this color management system supports a provided transform. More... | |
ShaderNodePtr | createNode (const ShaderGraph *parent, const ColorSpaceTransform &transform, const string &name, GenContext &context) const |
Create a node to use to perform the given color space transformation. More... | |
Protected Member Functions | |
ColorManagementSystem () | |
Protected constructor. More... | |
virtual NodeDefPtr | getNodeDef (const ColorSpaceTransform &transform) const =0 |
Returns a nodedef for a given transform. More... | |
Protected Attributes | |
DocumentPtr | _document |
Abstract base class for color management systems
Definition at line 48 of file ColorManagementSystem.h.
|
inlinevirtual |
Definition at line 51 of file ColorManagementSystem.h.
|
protected |
Protected constructor.
ShaderNodePtr ColorManagementSystem::createNode | ( | const ShaderGraph * | parent, |
const ColorSpaceTransform & | transform, | ||
const string & | name, | ||
GenContext & | context | ||
) | const |
Create a node to use to perform the given color space transformation.
|
pure virtual |
Return the ColorManagementSystem name.
Implemented in DefaultColorManagementSystem.
|
protectedpure virtual |
Returns a nodedef for a given transform.
Implemented in DefaultColorManagementSystem.
|
virtual |
Load a library of implementations from the provided document, replacing any previously loaded content.
bool ColorManagementSystem::supportsTransform | ( | const ColorSpaceTransform & | transform | ) | const |
Returns whether this color management system supports a provided transform.
|
protected |
Definition at line 75 of file ColorManagementSystem.h.