MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / invertTransform

Function invertTransform

src/OpenColorIO/ConfigUtils.cpp:857–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855}
856
857ConstTransformRcPtr invertTransform(const ConstTransformRcPtr & t)
858{
859 TransformRcPtr eT = t->createEditableCopy();
860 eT->setDirection(TRANSFORM_DIR_INVERSE);
861 return eT;
862}
863
864// Return a transform in either the to_ref or from_ref direction for this color space.
865// Return an identity matrix, if the color space has no transforms.

Callers 3

getTransformForDirFunction · 0.85
updateReferenceViewFunction · 0.85

Calls 2

createEditableCopyMethod · 0.45
setDirectionMethod · 0.45

Tested by

no test coverage detected