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

Method getValue

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

Source from the content-addressed store, hash-verified

158}
159
160bool LogOpData::getValue(LogAffineParameter val, double(&values)[3]) const noexcept
161{
162 if (val >= m_redParams.size())
163 {
164 return false;
165 }
166 values[0] = m_redParams[val];
167 values[1] = m_greenParams[val];
168 values[2] = m_blueParams[val];
169 return true;
170}
171
172void LogOpData::setParameters(const double(&logSlope)[3],
173 const double(&logOffset)[3],

Callers 15

__init__Method · 0.45
update_from_transformMethod · 0.45
saveFunction · 0.45
getCustomKeyValueMethod · 0.45
getCustomKeyValueMethod · 0.45
equalsMethod · 0.45
getExposureMethod · 0.45
getContrastMethod · 0.45
getGammaMethod · 0.45
isIdentityMethod · 0.45
getCacheIDMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 15

test_contructorMethod · 0.36
test_valuesMethod · 0.36
test_apply_inverseMethod · 0.36
test_get_processorMethod · 0.36
check_processorMethod · 0.36
check_processor_invMethod · 0.36
test_contructorMethod · 0.36
test_valuesMethod · 0.36
test_contructorMethod · 0.36
test_valuesMethod · 0.36
test_grid_sizeMethod · 0.36