MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / setValues

Method setValues

ColorWheel/ColorWheel.cpp:134–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 void setValues(const double centerSaturation,
135 const double edgeSaturation,
136 const double centerValue,
137 const double edgeValue,
138 const double gamma,
139 const double rotate,
140 const OfxPointD& center,
141 const double radius)
142 {
143 _centerSaturation = centerSaturation;
144 _edgeSaturation = edgeSaturation;
145 _centerValue = centerValue;
146 _edgeValue = edgeValue;
147 _gamma = gamma;
148 _rotate = rotate - 360 * std::floor(rotate / 360.); // bring rotate between 0 and 360
149 _center = center;
150 _radius = radius;
151 }
152};
153
154template <class PIX, int nComponents, int max>

Callers 1

setupAndProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected