MCPcopy Create free account
hub / github.com/Kitware/VTK / HSVToRGB

Function HSVToRGB

Common/Core/vtkMath.h:1363–1366  ·  view source on GitHub ↗

@{ * Convert color in HSV format (Hue, Saturation, Value) to RGB * format (Red, Green, Blue). The input color is not modified. * The input 'hsv' must be float values in the range [0, 1]. * The elements of each component of the output 'rgb' are in * the range [0, 1]. */

Source from the content-addressed store, hash-verified

1361 * the range [0, 1].
1362 */
1363 static void HSVToRGB(const float hsv[3], float rgb[3])
1364 {
1365 HSVToRGB(hsv[0], hsv[1], hsv[2], rgb, rgb + 1, rgb + 2);
1366 }
1367 static void HSVToRGB(float h, float s, float v, float* r, float* g, float* b);
1368 static void HSVToRGB(const double hsv[3], double rgb[3])
1369 {

Callers 15

OnSwipeMethod · 0.85
ForceBuildMethod · 0.85
HSVToRGBMethod · 0.85
RGBToHSVFunction · 0.85
TestLookupTableFunction · 0.85
TestColorConvertFunction · 0.85
ExecuteMethod · 0.85
DisableColorMethod · 0.85
AddHSVPointMethod · 0.85
AddHSVSegmentMethod · 0.85
GetTableMethod · 0.85

Calls

no outgoing calls

Tested by 9

RGBToHSVFunction · 0.68
TestLookupTableFunction · 0.68
TestColorConvertFunction · 0.68
ExecuteMethod · 0.68