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

Method inverse

src/OpenColorIO/ops/log/LogOpData.cpp:351–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351LogOpDataRcPtr LogOpData::inverse() const
352{
353 LogOpDataRcPtr invOp = clone();
354
355 invOp->setDirection(GetInverseTransformDirection(m_direction));
356 invOp->validate();
357
358 // Note that any existing metadata could become stale at this point but
359 // trying to update it is also challenging since inverse() is sometimes
360 // called even during the creation of new ops.
361 return invOp;
362}
363
364bool LogOpData::isInverse(ConstLogOpDataRcPtr & log) const
365{

Callers 1

CreateLogOpFunction · 0.45

Calls 3

setDirectionMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected