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

Method HSVToRGB

Common/Core/vtkMath.cxx:2464–2471  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2462
2463//------------------------------------------------------------------------------
2464void vtkMath::HSVToRGB(float h, float s, float v, float* r, float* g, float* b)
2465{
2466 double dr, dg, db;
2467 vtkMath::HSVToRGB(h, s, v, &dr, &dg, &db);
2468 *r = static_cast<float>(dr);
2469 *g = static_cast<float>(dg);
2470 *b = static_cast<float>(db);
2471}
2472
2473//------------------------------------------------------------------------------
2474void vtkMath::HSVToRGB(double h, double s, double v, double* r, double* g, double* b)

Callers

nothing calls this directly

Calls 1

HSVToRGBFunction · 0.85

Tested by

no test coverage detected