Filtering/vtkColorTransferFunction.cxx
double vtkColorTransferFunction::GetRedValue( double x )
{
  double rgb[3];
  this->GetColor( x, rgb );

  return rgb[0];
}
//----------------------------------------------------------------------------
// Returns the red color evaluated at the specified location
Returns the red color evaluated at the specified location
Returns the red color evaluated at the specified location
double vtkColorTransferFunction::GetRedValue( double x )
{
  double rgb[3];
  this->GetColor( x, rgb );
  return rgb[0];
}
double vtkColorTransferFunction :: GetRedValue ( double x ) { double rgb [ 3 ] ; this -> GetColor ( x , rgb ) ; return rgb [ 0 ] ; }
Returns the red color evaluated at the specified location
Returns the red color evaluated at the specified location