ColorClasses Class Reference

#include <ColorClasses.h>

List of all members.

Static Public Member Functions

static unsigned long colorClassToRGB (colorClass color)
static const char * getColorName (colorClass color)
static Drawings::Color colorClassToDrawingsColor (colorClass color)


Detailed Description

Static class for color class functions.

Author:
Tim Laue

Martin Lötzsch

Definition at line 40 of file ColorClasses.h.


Member Function Documentation

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

Parameters:
color The color class
Returns:
The RGB value

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

Parameters:
color The color class
Returns:
The name

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().


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 01:22:56 2006 for DT2005.panorama by  doxygen 1.4.7