Look¶
- class PyOpenColorIO.Look¶
The :ref:`Look` is an ‘artistic’ image modification, in a specified image state. The processSpace defines the ColorSpace the image is required to be in, for the math to apply correctly.
- Look(*args, **kwargs)¶
Overloaded function.
__init__(self: PyOpenColorIO.PyOpenColorIO.Look) -> None
__init__(self: PyOpenColorIO.PyOpenColorIO.Look, name: str = ‘’, processSpace: str = ‘’, transform: PyOpenColorIO.PyOpenColorIO.Transform = None, inverseTransform: PyOpenColorIO.PyOpenColorIO.Transform = None, description: str = ‘’) -> None
- getDescription() str¶
- getInterchangeAttribute(attrName: str) str¶
Get/Set the interchange attributes.
Currently the only supported attribute name is “amf_transform_ids”. Using any other name will throw. If the attribute is not defined, it will return an empty string. Setting the value to an empty string will effectively delete the attribute.
The AMF transform IDs are used to identify specific transforms in the ACES Metadata File. Multiple transform IDs can be specified in a newline-separated string.
- getInterchangeAttributes() dict[str, str]¶
- getInverseTransform() PyOpenColorIO.PyOpenColorIO.Transform¶
- getName() str¶
- getProcessSpace() str¶
- getTransform() PyOpenColorIO.PyOpenColorIO.Transform¶
- setDescription(description: str) None¶
- setInterchangeAttribute(attrName: str, attrValue: str) None¶
- setInverseTransform(transform: PyOpenColorIO.PyOpenColorIO.Transform) None¶
Setting a transform to a non-null call makes it allowed.
- setName(name: str) None¶
- setProcessSpace(processSpace: str) None¶
- setTransform(transform: PyOpenColorIO.PyOpenColorIO.Transform) None¶
Setting a transform to a non-null call makes it allowed.
-
class Look¶
The Look is an ‘artistic’ image modification, in a specified image state. The processSpace defines the ColorSpace the image is required to be in, for the math to apply correctly.
Public Functions
-
const char *getName() const¶
-
void setName(const char *name)¶
-
const char *getProcessSpace() const¶
-
void setProcessSpace(const char *processSpace)¶
-
ConstTransformRcPtr getTransform() const¶
-
void setTransform(const ConstTransformRcPtr &transform)¶
Setting a transform to a non-null call makes it allowed.
-
ConstTransformRcPtr getInverseTransform() const¶
-
void setInverseTransform(const ConstTransformRcPtr &transform)¶
Setting a transform to a non-null call makes it allowed.
-
const char *getDescription() const¶
-
void setDescription(const char *description)¶
-
const char *getInterchangeAttribute(const char *attrName) const¶
Get/Set the interchange attributes.
Currently the only supported attribute name is “amf_transform_ids”. Using any other name will throw. If the attribute is not defined, it will return an empty string. Setting the value to an empty string will effectively delete the attribute.
The AMF transform IDs are used to identify specific transforms in the ACES Metadata File. Multiple transform IDs can be specified in a newline-separated string.
-
void setInterchangeAttribute(const char *attrName, const char *value)¶
-
std::map<std::string, std::string> getInterchangeAttributes() const noexcept¶
-
~Look()¶
Do not use (needed only for pybind11).
-
const char *getName() const¶