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

Method setStyle

src/OpenColorIO/DynamicProperty.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void DynamicPropertyGradingPrimaryImpl::setStyle(GradingStyle style)
184{
185 m_style = style;
186 // Reset values to style defaults.
187 m_value = GradingPrimary(m_style);
188 m_preRenderValues.update(m_style, m_direction, m_value);
189}
190
191void DynamicPropertyGradingPrimaryImpl::setDirection(TransformDirection dir) noexcept
192{

Callers 15

mainFunction · 0.45
setup_styleFunction · 0.45
transformMethod · 0.45
transformMethod · 0.45
transformMethod · 0.45
transformMethod · 0.45
bindPyBuiltinTransformFunction · 0.45

Calls 3

GradingPrimaryFunction · 0.85
GradingToneFunction · 0.85
updateMethod · 0.45

Tested by 15

test_styleMethod · 0.36
test_styleMethod · 0.36
test_validate_paramsMethod · 0.36
test_styleMethod · 0.36
test_styleMethod · 0.36
test_styleMethod · 0.36
test_styleMethod · 0.36
test_styleMethod · 0.36
test_linear_ccMethod · 0.36
test_color_timing_ccMethod · 0.36
test_display_ccMethod · 0.36