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

Method GetBlueValue

Rendering/Core/vtkColorTransferFunction.cxx:772–778  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Returns the blue color evaluated at the specified location

Source from the content-addressed store, hash-verified

770//------------------------------------------------------------------------------
771// Returns the blue color evaluated at the specified location
772double vtkColorTransferFunction::GetBlueValue(double x)
773{
774 double rgb[3];
775 this->GetColor(x, rgb);
776
777 return rgb[2];
778}
779
780//------------------------------------------------------------------------------
781// Returns a table of RGB colors at regular intervals along the function

Callers 1

TestFunction · 0.80

Calls 1

GetColorMethod · 0.95

Tested by 1

TestFunction · 0.64