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

Method getTransform

src/OpenColorIO/ColorSpace.cpp:464–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464ConstTransformRcPtr ColorSpace::getTransform(ColorSpaceDirection dir) const noexcept
465{
466 switch (dir)
467 {
468 case COLORSPACE_DIR_TO_REFERENCE:
469 return getImpl()->m_toRefTransform;
470 case COLORSPACE_DIR_FROM_REFERENCE:
471 return getImpl()->m_fromRefTransform;
472 }
473 return ConstTransformRcPtr();
474}
475
476void ColorSpace::setTransform(const ConstTransformRcPtr & transform,
477 ColorSpaceDirection dir)

Callers 4

test_interfaceMethod · 0.95
ColorSpace.cppFile · 0.45

Calls 1

getImplFunction · 0.50

Tested by 1

test_interfaceMethod · 0.76