ViewTransform¶
-
class
PyOpenColorIO.ViewTransform¶ -
ViewTransform(*args, **kwargs)¶ Overloaded function.
__init__(self: PyOpenColorIO.ViewTransform, referenceSpace: PyOpenColorIO.ReferenceSpaceType) -> None
__init__(self: PyOpenColorIO.ViewTransform, referenceSpace: PyOpenColorIO.ReferenceSpaceType = <ReferenceSpaceType.REFERENCE_SPACE_SCENE: 0>, name: str = ‘’, family: str = ‘’, description: str = ‘’, toReference: PyOpenColorIO.Transform = None, fromReference: PyOpenColorIO.Transform = None, categories: List[str] = []) -> None
-
addCategory(category: str) → None¶
-
clearCategories() → None¶
-
getCategories() → PyOpenColorIO.ViewTransform.ViewTransformCategoryIterator¶
-
getDescription() → str¶
-
getFamily() → str¶
-
getName() → str¶
-
getReferenceSpaceType() → PyOpenColorIO.ReferenceSpaceType¶
-
getTransform(direction: PyOpenColorIO.ViewTransformDirection) → PyOpenColorIO.Transform¶ If a transform in the specified direction has been specified, return it. Otherwise return a null ConstTransformRcPtr
-
hasCategory(category: str) → bool¶
-
removeCategory(category: str) → None¶
-
setDescription(description: str) → None¶
-
setFamily(family: str) → None¶
-
setName(name: str) → None¶
-
setTransform(transform: PyOpenColorIO.Transform, direction: PyOpenColorIO.ViewTransformDirection) → None¶ Specify the transform for the appropriate direction. Setting the transform to null will clear it.
-
-
class
OpenColorIO_v2_0::ViewTransform¶ Public Functions
-
ViewTransformRcPtr
createEditableCopy() const¶
-
const char *
getName() const noexcept¶
-
void
setName(const char *name) noexcept¶
-
const char *
getFamily() const noexcept¶
-
void
setFamily(const char *family)¶
-
const char *
getDescription() const noexcept¶
-
void
setDescription(const char *description)¶
-
bool
hasCategory(const char *category) const¶
-
void
addCategory(const char *category)¶
-
void
removeCategory(const char *category)¶
-
int
getNumCategories() const¶
-
const char *
getCategory(int index) const¶
-
void
clearCategories()¶
-
ReferenceSpaceType
getReferenceSpaceType() const noexcept¶
-
ConstTransformRcPtr
getTransform(ViewTransformDirection dir) const noexcept¶ If a transform in the specified direction has been specified, return it. Otherwise return a null ConstTransformRcPtr
-
void
setTransform(const ConstTransformRcPtr &transform, ViewTransformDirection dir)¶ Specify the transform for the appropriate direction. Setting the transform to null will clear it.
-
ViewTransform(const ViewTransform&) = delete¶
-
ViewTransform &
operator=(const ViewTransform&) = delete¶
-
~ViewTransform()¶ Do not use (needed only for pybind11).
Public Static Functions
-
ViewTransformRcPtr
Create(ReferenceSpaceType referenceSpace)¶
-
ViewTransformRcPtr
-
std::ostream &
OpenColorIO_v2_0::operator<<(std::ostream&, const ViewTransform&)¶
-
typedef std::shared_ptr<const ViewTransform>
OpenColorIO_v2_0::ConstViewTransformRcPtr¶
-
typedef std::shared_ptr<ViewTransform>
OpenColorIO_v2_0::ViewTransformRcPtr¶