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

Method AddHSVPoint

Rendering/Core/vtkColorTransferFunction.cxx:508–514  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Add a point defined in HSV

Source from the content-addressed store, hash-verified

506//------------------------------------------------------------------------------
507// Add a point defined in HSV
508int vtkColorTransferFunction::AddHSVPoint(double x, double h, double s, double v)
509{
510 double r, b, g;
511
512 vtkMath::HSVToRGB(h, s, v, &r, &g, &b);
513 return this->AddRGBPoint(x, r, g, b);
514}
515
516//------------------------------------------------------------------------------
517// Add a point defined in HSV

Callers 12

TestFunction · 0.80
TestPointGaussianMapperFunction · 0.80
gaussian.pyFile · 0.80
__init__Method · 0.80
TestMultiBlockMapperFunction · 0.80
TestBlockOpacityFunction · 0.80

Calls 2

AddRGBPointMethod · 0.95
HSVToRGBFunction · 0.85

Tested by 11

TestFunction · 0.64
TestPointGaussianMapperFunction · 0.64
__init__Method · 0.64
TestMultiBlockMapperFunction · 0.64
TestBlockOpacityFunction · 0.64