HDK
|
#include <OpenColorIO.h>
Public Member Functions | |
virtual NamedTransformRcPtr | createEditableCopy () const =0 |
virtual const char * | getName () const noexcept=0 |
virtual void | setName (const char *name) noexcept=0 |
virtual size_t | getNumAliases () const noexcept=0 |
Aliases can be used instead of the name. They must be unique within the config. More... | |
virtual const char * | getAlias (size_t idx) const noexcept=0 |
Return empty string if idx is out of range. More... | |
virtual void | addAlias (const char *alias) noexcept=0 |
virtual void | removeAlias (const char *alias) noexcept=0 |
Does nothing if alias is not present. More... | |
virtual void | clearAliases () noexcept=0 |
virtual const char * | getFamily () const noexcept=0 |
virtual void | setFamily (const char *family) noexcept=0 |
virtual const char * | getDescription () const noexcept=0 |
virtual void | setDescription (const char *description) noexcept=0 |
virtual bool | hasCategory (const char *category) const noexcept=0 |
virtual void | addCategory (const char *category) noexcept=0 |
virtual void | removeCategory (const char *category) noexcept=0 |
virtual int | getNumCategories () const noexcept=0 |
virtual const char * | getCategory (int index) const noexcept=0 |
virtual void | clearCategories () noexcept=0 |
virtual const char * | getEncoding () const noexcept=0 |
virtual void | setEncoding (const char *encoding) noexcept=0 |
virtual ConstTransformRcPtr | getTransform (TransformDirection dir) const =0 |
virtual void | setTransform (const ConstTransformRcPtr &transform, TransformDirection dir)=0 |
NamedTransform (const NamedTransform &)=delete | |
NamedTransform & | operator= (const NamedTransform &)=delete |
virtual | ~NamedTransform ()=default |
Static Public Member Functions | |
static NamedTransformRcPtr | Create () |
static ConstTransformRcPtr | GetTransform (const ConstNamedTransformRcPtr &nt, TransformDirection dir) |
Protected Member Functions | |
NamedTransform ()=default | |
A NamedTransform provides a way for config authors to include a set of color transforms that are independent of the color space being processed. For example a "utility curve" transform where there is no need to convert to or from a reference space.
Definition at line 2287 of file OpenColorIO.h.
|
delete |
|
virtualdefault |
|
protecteddefault |
|
pure virtualnoexcept |
Nothing is done if alias is NULL or empty, if it is already there, or if it is already the named transform name.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
static |
|
pure virtual |
|
pure virtualnoexcept |
Return empty string if idx is out of range.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
A NamedTransform is not a color space and does not have an encoding in the same sense. However, it may be useful to associate a color space encoding that the transform is intended to be used with, for organizational purposes.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Aliases can be used instead of the name. They must be unique within the config.
|
pure virtualnoexcept |
|
pure virtual |
|
static |
Will create the transform from the inverse direction if the transform for requested direction is missing.
|
pure virtualnoexcept |
|
delete |
|
pure virtualnoexcept |
Does nothing if alias is not present.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtual |