HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ColorManagementSystem Class Referenceabstract

#include <ColorManagementSystem.h>

+ Inheritance diagram for ColorManagementSystem:

Public Member Functions

virtual ~ColorManagementSystem ()
 
virtual const stringgetName () 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
 

Detailed Description

Abstract base class for color management systems

Definition at line 48 of file ColorManagementSystem.h.

Constructor & Destructor Documentation

virtual ColorManagementSystem::~ColorManagementSystem ( )
inlinevirtual

Definition at line 51 of file ColorManagementSystem.h.

ColorManagementSystem::ColorManagementSystem ( )
protected

Protected constructor.

Member Function Documentation

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.

virtual const string& ColorManagementSystem::getName ( ) const
pure virtual

Return the ColorManagementSystem name.

Implemented in DefaultColorManagementSystem.

virtual NodeDefPtr ColorManagementSystem::getNodeDef ( const ColorSpaceTransform transform) const
protectedpure virtual

Returns a nodedef for a given transform.

Implemented in DefaultColorManagementSystem.

virtual void ColorManagementSystem::loadLibrary ( DocumentPtr  document)
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.

Member Data Documentation

DocumentPtr ColorManagementSystem::_document
protected

Definition at line 75 of file ColorManagementSystem.h.


The documentation for this class was generated from the following file: