#include <ColorClasses.h>
Static Public Member Functions | |
static unsigned long | colorClassToRGB (colorClass color) |
static const char * | getColorName (colorClass color) |
static Drawings::Color | colorClassToDrawingsColor (colorClass color) |
Martin Lötzsch
Definition at line 40 of file ColorClasses.h.
static Drawings::Color ColorClasses::colorClassToDrawingsColor | ( | colorClass | color | ) | [inline, static] |
Definition at line 96 of file ColorClasses.h.
References black, Drawings::black, Drawings::blue, blue, Drawings::gray, gray, Drawings::green, green, noColor, Drawings::orange, orange, Drawings::pink, pink, Drawings::red, red, Drawings::skyblue, skyblue, Drawings::white, white, Drawings::yellow, yellow, Drawings::yellowOrange, and yellowOrange.
Referenced by GT2004BallSpecialist::addBallPercept(), GT2004ImageProcessor::scan(), and GT2004BeaconDetector::scanForBeaconEdges().
static unsigned long ColorClasses::colorClassToRGB | ( | colorClass | color | ) | [inline, static] |
Returns the RBG-Value for a color class
color | The color class |
Definition at line 48 of file ColorClasses.h.
References b, black, blue, gray, green, orange, pink, red, skyblue, white, yellow, and yellowOrange.
Referenced by PaintMethodsWin32::createColoredPens(), CColorTable64DlgBar::OnPaint(), ImageMethods::paintColorClassImage2CDC(), PaintMethodsWin32::paintColorClassUV2CDC(), PaintMethodsWin32::paintColorClassUY2CDC(), OpenGLMethods::paintColorTableCuboids(), DrawingMethods::paintLandmarksPerceptForFieldView(), and OpenGLMethods::paintLandmarksPerceptToOpenGLList().
static const char* ColorClasses::getColorName | ( | colorClass | color | ) | [inline, static] |
Returns the name of a color class
color | The color class |
Definition at line 76 of file ColorClasses.h.
References black, blue, gray, green, noColor, orange, pink, red, skyblue, white, yellow, and yellowOrange.
Referenced by RoboCupCtrl::adaptColors(), RoboCupCtrl::colorizeScene(), RBridgeSpecialist::getPosition(), CTSLColorTableToolDlgBar::OnInitDialog(), CColorTable64DlgBar::OnInitDialog(), CTSLColorTableToolDlgBar::OnTSLColorTableToolLoad(), CTSLColorTableToolDlgBar::OnTSLColorTableToolOrderDown(), and CTSLColorTableToolDlgBar::OnTSLColorTableToolOrderUp().