Drawings Class Reference

#include <DebugDrawings.h>

List of all members.

Public Types

 circle
 filledCircle
 line
 dot
 largeDot
 octangle
 arrow
 octangleRGB
 fieldPolygons
 fieldLines
 percepts_ballFlagsGoalsField
 percepts_obstaclesAndPSDField
 percepts_specialField
 worldStateOracle
 worldState
 models_obstaclesField
 selfLocatorField
 ballLocatorField
 goaliePositionField
 headControlField
 teamBallLocatorField
 behavior_CBBVector
 behavior_CBBWay
 behavior_kickAngles
 behavior_aStarSearch
 dribbleBall
 firstDrawingInRadarViewer
 percepts_ballFlagsGoalsRadar = firstDrawingInRadarViewer
 percepts_obstaclesAndPSDRadar
 models_obstaclesRadar
 models_corridorsRadar
 behavior_kickAnglesRadar
 numberOfFieldDrawings
 percepts_ball
 percepts_flagsGoals
 percepts_freePartOfGoal
 percepts_lines
 percepts_edges
 percepts_obstacles
 percepts_psd
 percepts_special
 models_obstacles
 models_freePartOfGoal
 selfLocator
 imageProcessor_general
 imageProcessor_horizon
 imageProcessor_goal
 imageProcessor_scanLines
 imageProcessor_coloredSegments1
 imageProcessor_coloredSegments2
 imageProcessor_coloredSegments3
 imageProcessor_calibration1
 imageProcessor_calibration2
 imageProcessor_clipLines
 imageProcessor_ball
 imageProcessor_ball1
 imageProcessor_ball2
 imageProcessor_ball3
 imageProcessor_ball4
 imageProcessor_ground
 imageProcessor_flags
 imageProcessor_flagsAndGoals
 imageProcessor_obstacles
 imageProcessor_gradients
 imageProcessor_edges
 sketch
 numberOfImageDrawings
 drawingOnField
 drawingOnImage
 ps_solid
 ps_dash
 ps_dot
 ps_null
 bs_solid
 bs_null
 red
 green
 blue
 yellow
 orange
 pink
 skyblue
 white
 light_gray
 gray
 dark_gray
 black
 yellowOrange
 numberOfColors
enum  ShapeType {
  circle, filledCircle, line, dot,
  largeDot, octangle, arrow, octangleRGB
}
enum  FieldDrawing {
  fieldPolygons, fieldLines, percepts_ballFlagsGoalsField, percepts_obstaclesAndPSDField,
  percepts_specialField, worldStateOracle, worldState, models_obstaclesField,
  selfLocatorField, ballLocatorField, goaliePositionField, headControlField,
  teamBallLocatorField, behavior_CBBVector, behavior_CBBWay, behavior_kickAngles,
  behavior_aStarSearch, dribbleBall, firstDrawingInRadarViewer, percepts_ballFlagsGoalsRadar = firstDrawingInRadarViewer,
  percepts_obstaclesAndPSDRadar, models_obstaclesRadar, models_corridorsRadar, behavior_kickAnglesRadar,
  numberOfFieldDrawings
}
enum  ImageDrawing {
  percepts_ball, percepts_flagsGoals, percepts_freePartOfGoal, percepts_lines,
  percepts_edges, percepts_obstacles, percepts_psd, percepts_special,
  models_obstacles, models_freePartOfGoal, selfLocator, imageProcessor_general,
  imageProcessor_horizon, imageProcessor_goal, imageProcessor_scanLines, imageProcessor_coloredSegments1,
  imageProcessor_coloredSegments2, imageProcessor_coloredSegments3, imageProcessor_calibration1, imageProcessor_calibration2,
  imageProcessor_clipLines, imageProcessor_ball, imageProcessor_ball1, imageProcessor_ball2,
  imageProcessor_ball3, imageProcessor_ball4, imageProcessor_ground, imageProcessor_flags,
  imageProcessor_flagsAndGoals, imageProcessor_obstacles, imageProcessor_gradients, imageProcessor_edges,
  sketch, numberOfImageDrawings
}
enum  TypeOfDrawing { drawingOnField, drawingOnImage }
enum  PenStyle { ps_solid, ps_dash, ps_dot, ps_null }
enum  FillStyle { bs_solid, bs_null }
enum  Color {
  red, green, blue, yellow,
  orange, pink, skyblue, white,
  light_gray, gray, dark_gray, black,
  yellowOrange, numberOfColors
}

Static Public Member Functions

static TypeOfDrawing getTypeOfDrawing (FieldDrawing)
static TypeOfDrawing getTypeOfDrawing (ImageDrawing)
static const char * getDrawingName (FieldDrawing fieldDrawing)
static const char * getDrawingName (ImageDrawing imageDrawing)
static bool getDebugKeyID (enum FieldDrawing fieldDrawing, DebugKeyTable::debugKeyID &debugKeyID)
static bool getDebugKeyID (enum ImageDrawing imageDrawing, DebugKeyTable::debugKeyID &debugKeyID)


Detailed Description

This class includes all enumeration types and methods that are necessary to transmit messages for debug drawings

Definition at line 26 of file DebugDrawings.h.


Member Enumeration Documentation

enum Drawings::Color

The color that is used for basic shapes

Enumerator:
red 
green 
blue 
yellow 
orange 
pink 
skyblue 
white 
light_gray 
gray 
dark_gray 
black 
yellowOrange 
numberOfColors 

Definition at line 287 of file DebugDrawings.h.

enum Drawings::FieldDrawing

IDs for debug drawings on the field. enter new debug drawings here and add the corresponding string in getDrawingName.

Enumerator:
fieldPolygons  the polygons of the 2D field view
fieldLines  the lines of the 2D field view
percepts_ballFlagsGoalsField  player, ball and landmarks percepts on the field view.
percepts_obstaclesAndPSDField  obstacles and psd percepts on the field view.
percepts_specialField  special percept on field
worldStateOracle  the oracled world state (displayed ligter)
worldState  the world state as calculated by the modules
models_obstaclesField  the obstacles model
selfLocatorField  visualization of the particles in the monte carlo selflocalization
ballLocatorField  visualization of hypothesis regarding the ball
goaliePositionField  visualization of the goalie position
headControlField  visualization what feature of the environment HeadControl is aiming at
teamBallLocatorField 
behavior_CBBVector 
behavior_CBBWay  Drawings for ContinuosBasicBehavior1
behavior_kickAngles  Drawings for ContinuosBasicBehavior2
behavior_aStarSearch  Drawings for several kick angles
dribbleBall  Drawings for A* search tree
firstDrawingInRadarViewer  Drawings for dribble ball all drawings below here are shown in the radar view
percepts_ballFlagsGoalsRadar  player, ball and landmarks percepts on the radar view.
percepts_obstaclesAndPSDRadar  obstacles and psd percepts on the radar view.
models_obstaclesRadar  obstacles model in radar view
models_corridorsRadar 
behavior_kickAnglesRadar  All corridors that are calculated kick angles in radar view
numberOfFieldDrawings 

Definition at line 42 of file DebugDrawings.h.

enum Drawings::FillStyle

The fill style that is used for basic shapes

Enumerator:
bs_solid 
bs_null 

Definition at line 281 of file DebugDrawings.h.

enum Drawings::ImageDrawing

IDs for debug drawings on the field. enter new debug drawings here and add the corresponding string in getDrawingName.

Enumerator:
percepts_ball 
percepts_flagsGoals 
percepts_freePartOfGoal 
percepts_lines 
percepts_edges 
percepts_obstacles 
percepts_psd 
percepts_special 
models_obstacles 
models_freePartOfGoal 
selfLocator 
imageProcessor_general 
imageProcessor_horizon 
imageProcessor_goal 
imageProcessor_scanLines 
imageProcessor_coloredSegments1 
imageProcessor_coloredSegments2 
imageProcessor_coloredSegments3 
imageProcessor_calibration1 
imageProcessor_calibration2 
imageProcessor_clipLines 
imageProcessor_ball 
imageProcessor_ball1 
imageProcessor_ball2 
imageProcessor_ball3 
imageProcessor_ball4 
imageProcessor_ground 
imageProcessor_flags 
imageProcessor_flagsAndGoals 
imageProcessor_obstacles 
imageProcessor_gradients 
imageProcessor_edges 
sketch 
numberOfImageDrawings 

Definition at line 88 of file DebugDrawings.h.

enum Drawings::PenStyle

The pen style that is used for basic shapes

Enumerator:
ps_solid 
ps_dash 
ps_dot 
ps_null 

Definition at line 275 of file DebugDrawings.h.

enum Drawings::ShapeType

IDs for shape types shapes are the basic drawings that can be sentī.

Enumerator:
circle 
filledCircle 
line 
dot 
largeDot 
octangle 
arrow 
octangleRGB 

Definition at line 33 of file DebugDrawings.h.

enum Drawings::TypeOfDrawing

Enumerator:
drawingOnField 
drawingOnImage 

Definition at line 126 of file DebugDrawings.h.


Member Function Documentation

static bool Drawings::getDebugKeyID ( enum ImageDrawing  imageDrawing,
DebugKeyTable::debugKeyID debugKeyID 
) [inline, static]

Definition at line 243 of file DebugDrawings.h.

References imageProcessor_ball, imageProcessor_ball1, imageProcessor_ball2, imageProcessor_ball3, imageProcessor_ball4, imageProcessor_calibration1, imageProcessor_calibration2, imageProcessor_clipLines, imageProcessor_coloredSegments1, imageProcessor_coloredSegments2, imageProcessor_coloredSegments3, imageProcessor_edges, imageProcessor_flags, imageProcessor_flagsAndGoals, imageProcessor_general, imageProcessor_goal, imageProcessor_gradients, imageProcessor_ground, imageProcessor_horizon, imageProcessor_obstacles, imageProcessor_scanLines, selfLocator, DebugKeyTable::send_imageProcessor_ball1_drawing, DebugKeyTable::send_imageProcessor_ball2_drawing, DebugKeyTable::send_imageProcessor_ball3_drawing, DebugKeyTable::send_imageProcessor_ball4_drawing, DebugKeyTable::send_imageProcessor_ball_drawing, DebugKeyTable::send_imageProcessor_calibration1_drawing, DebugKeyTable::send_imageProcessor_calibration2_drawing, DebugKeyTable::send_imageProcessor_clipLines_drawing, DebugKeyTable::send_imageProcessor_coloredSegments1_drawing, DebugKeyTable::send_imageProcessor_coloredSegments2_drawing, DebugKeyTable::send_imageProcessor_coloredSegments3_drawing, DebugKeyTable::send_imageProcessor_edges_drawing, DebugKeyTable::send_imageProcessor_flags_drawing, DebugKeyTable::send_imageProcessor_flagsAndGoals_drawing, DebugKeyTable::send_imageProcessor_general_drawing, DebugKeyTable::send_imageProcessor_goal_drawing, DebugKeyTable::send_imageProcessor_gradients_drawing, DebugKeyTable::send_imageProcessor_ground_drawing, DebugKeyTable::send_imageProcessor_horizon_drawing, DebugKeyTable::send_imageProcessor_obstacles_drawing, DebugKeyTable::send_imageProcessor_scanLines_drawing, DebugKeyTable::send_selfLocator_drawing, DebugKeyTable::send_sketch_drawing, and sketch.

static bool Drawings::getDebugKeyID ( enum FieldDrawing  fieldDrawing,
DebugKeyTable::debugKeyID debugKeyID 
) [inline, static]

Definition at line 220 of file DebugDrawings.h.

References ballLocatorField, behavior_aStarSearch, behavior_CBBVector, behavior_CBBWay, behavior_kickAngles, behavior_kickAnglesRadar, dribbleBall, goaliePositionField, headControlField, models_corridorsRadar, selfLocatorField, DebugKeyTable::send_ballLocatorField_drawing, DebugKeyTable::send_behavior_aStarSearch_drawing, DebugKeyTable::send_behavior_CBBVector_drawing, DebugKeyTable::send_behavior_CBBWay_drawing, DebugKeyTable::send_behavior_kickAngles_drawing, DebugKeyTable::send_behavior_kickAnglesRadar_drawing, DebugKeyTable::send_dribbleBall_drawing, DebugKeyTable::send_goaliePositionField_drawing, DebugKeyTable::send_headControlField_drawing, DebugKeyTable::send_models_corridorsRadar_drawing, DebugKeyTable::send_selfLocatorField_drawing, DebugKeyTable::send_teamBallLocatorField_drawing, and teamBallLocatorField.

Referenced by RobotConsole::debugKey(), RobotConsole::handleMessage(), ImageDrawingManager::sendDebugKeysForSimulatedRobots(), and DebugDrawingManager::sendDebugKeysForSimulatedRobots().

static const char* Drawings::getDrawingName ( ImageDrawing  imageDrawing  )  [inline, static]

Returns a description for an indexed imageDrawing.

Attention:
Add descriptions for new image drawings here.

Definition at line 179 of file DebugDrawings.h.

References imageProcessor_ball, imageProcessor_ball1, imageProcessor_ball2, imageProcessor_ball3, imageProcessor_ball4, imageProcessor_calibration1, imageProcessor_calibration2, imageProcessor_clipLines, imageProcessor_coloredSegments1, imageProcessor_coloredSegments2, imageProcessor_coloredSegments3, imageProcessor_edges, imageProcessor_flags, imageProcessor_flagsAndGoals, imageProcessor_general, imageProcessor_goal, imageProcessor_gradients, imageProcessor_ground, imageProcessor_horizon, imageProcessor_obstacles, imageProcessor_scanLines, models_freePartOfGoal, models_obstacles, percepts_ball, percepts_edges, percepts_flagsGoals, percepts_freePartOfGoal, percepts_lines, percepts_obstacles, percepts_psd, percepts_special, selfLocator, and sketch.

static const char* Drawings::getDrawingName ( FieldDrawing  fieldDrawing  )  [inline, static]

Returns a description for an indexed fieldDrawing.

Attention:
Add descriptions for new fieldDrawings here.

Definition at line 139 of file DebugDrawings.h.

References ballLocatorField, behavior_aStarSearch, behavior_CBBVector, behavior_CBBWay, behavior_kickAngles, behavior_kickAnglesRadar, dribbleBall, fieldLines, fieldPolygons, goaliePositionField, headControlField, models_corridorsRadar, models_obstaclesField, models_obstaclesRadar, percepts_ballFlagsGoalsField, percepts_ballFlagsGoalsRadar, percepts_obstaclesAndPSDField, percepts_obstaclesAndPSDRadar, percepts_specialField, selfLocatorField, teamBallLocatorField, worldState, and worldStateOracle.

Referenced by ImageDrawingManager::loadProperties(), DebugDrawingManager::loadProperties(), ImageDrawingManager::saveProperties(), DebugDrawingManager::saveProperties(), and DebugDrawingManagerUI::showContextMenu().

static TypeOfDrawing Drawings::getTypeOfDrawing ( ImageDrawing   )  [inline, static]

Definition at line 133 of file DebugDrawings.h.

References drawingOnImage.

static TypeOfDrawing Drawings::getTypeOfDrawing ( FieldDrawing   )  [inline, static]

Definition at line 132 of file DebugDrawings.h.

References drawingOnField.


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