HDK
|
#include <OpenColorTransforms.h>
Public Member Functions | |
virtual const FormatMetadata & | getFormatMetadata () const noexcept=0 |
virtual FormatMetadata & | getFormatMetadata () noexcept=0 |
virtual ConstTransformRcPtr | getTransform (int index) const =0 |
Throws if index is not allowed. More... | |
virtual TransformRcPtr & | getTransform (int index)=0 |
Throws if index is not allowed. More... | |
virtual int | getNumTransforms () const noexcept=0 |
Return number of transforms. More... | |
virtual void | appendTransform (TransformRcPtr transform) noexcept=0 |
Adds a transform to the end of the group. More... | |
virtual void | prependTransform (TransformRcPtr transform) noexcept=0 |
Add a transform at the beginning of the group. More... | |
virtual void | write (const ConstConfigRcPtr &config, const char *formatName, std::ostream &os) const =0 |
Write the transforms comprising the group to the stream. More... | |
GroupTransform (const GroupTransform &)=delete | |
GroupTransform & | operator= (const GroupTransform &)=delete |
virtual | ~GroupTransform ()=default |
Do not use (needed only for pybind11). More... | |
![]() | |
virtual TransformRcPtr | createEditableCopy () const =0 |
virtual TransformDirection | getDirection () const noexcept=0 |
virtual void | setDirection (TransformDirection dir) noexcept=0 |
Note that this only affects the evaluation and not the values stored in the object. More... | |
virtual TransformType | getTransformType () const noexcept=0 |
virtual void | validate () const |
Will throw if data is not valid. More... | |
Transform (const Transform &)=delete | |
Transform & | operator= (const Transform &)=delete |
virtual | ~Transform ()=default |
Do not use (needed only for pybind11). More... | |
Static Public Member Functions | |
static GroupTransformRcPtr | Create () |
static int | GetNumWriteFormats () noexcept |
Get the number of writers. More... | |
static const char * | GetFormatNameByIndex (int index) noexcept |
Get the writer at index, return empty string if an invalid index is specified. More... | |
static const char * | GetFormatExtensionByIndex (int index) noexcept |
Protected Member Functions | |
GroupTransform ()=default | |
![]() | |
Transform ()=default | |
Definition at line 1319 of file OpenColorTransforms.h.
|
delete |
|
virtualdefault |
Do not use (needed only for pybind11).
|
protecteddefault |
|
pure virtualnoexcept |
Adds a transform to the end of the group.
|
static |
|
staticnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Get the writer at index, return empty string if an invalid index is specified.
|
pure virtualnoexcept |
Return number of transforms.
|
staticnoexcept |
Get the number of writers.
|
pure virtual |
Throws if index is not allowed.
|
pure virtual |
Throws if index is not allowed.
|
delete |
|
pure virtualnoexcept |
Add a transform at the beginning of the group.
|
pure virtual |
Write the transforms comprising the group to the stream.
Writing (as opposed to Baking) is a lossless process. An exception is thrown if the processor cannot be losslessly written to the specified file format. Transforms such as FileTransform or ColorSpaceTransform are resolved into write-able simple transforms using the config and context. Supported formats include CTF, CLF, and CDL. All available formats can be listed with the following: