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

Method canCombineWith

src/OpenColorIO/ops/lut1d/Lut1DOp.cpp:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool Lut1DOp::canCombineWith(ConstOpRcPtr & op) const
100{
101 ConstLut1DOpRcPtr typedRcPtr = DynamicPtrCast<const Lut1DOp>(op);
102 if (typedRcPtr)
103 {
104 ConstLut1DOpDataRcPtr lutData = typedRcPtr->lut1DData();
105 return lut1DData()->mayCompose(lutData);
106 }
107
108 // TODO: drop a clampIdentity Range after an Inverse LUT.
109 return false;
110}
111
112void Lut1DOp::combineWith(OpRcPtrVec & ops, ConstOpRcPtr & secondOp) const
113{

Callers

nothing calls this directly

Calls 2

lut1DDataMethod · 0.80
mayComposeMethod · 0.45

Tested by

no test coverage detected