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

Function AsGradingTone

src/OpenColorIO/DynamicProperty.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 throw Exception("Dynamic property value is not a grading hue curve.");
41}
42DynamicPropertyGradingToneRcPtr AsGradingTone(DynamicPropertyRcPtr & prop)
43{
44 auto res = OCIO_DYNAMIC_POINTER_CAST<DynamicPropertyGradingTone>(prop);
45 if (res) return res;
46 throw Exception("Dynamic property value is not a grading tone.");
47}
48}
49
50bool operator==(const DynamicProperty &lhs, const DynamicProperty &rhs)

Callers 6

setGradingToneFunction · 0.85
GTRetestMethod · 0.85
OCIO_ADD_TESTFunction · 0.85
OCIO_ADD_TESTFunction · 0.85

Calls

no outgoing calls

Tested by 4

GTRetestMethod · 0.68
OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68