Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Drawings Class Reference

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

#include <DebugDrawings.h>

List of all members.

Public Types

enum  ShapeType {
  circle, filledCircle, line,
  dot, largeDot, octangle,
  arrow
}
 IDs for shape types shapes are the basic drawings that can be sentī. More...

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
}
 IDs for debug drawings on the field. More...

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_scanLines, imageProcessor_coloredSegments1,
  imageProcessor_coloredSegments2, imageProcessor_coloredSegments3, imageProcessor_calibration1,
  imageProcessor_calibration2, imageProcessor_ball1, imageProcessor_ball2,
  imageProcessor_ball3, imageProcessor_ball4, imageProcessor_ground,
  imageProcessor_flagsAndGoals, imageProcessor_obstacles, imageProcessor_gradients,
  imageProcessor_edges, sketch, numberOfImageDrawings
}
 IDs for debug drawings on the field. More...

enum  TypeOfDrawing { drawingOnField, drawingOnImage }
enum  PenStyle {
  ps_solid, ps_dash, ps_dot,
  ps_null
}
 The pen style that is used for basic shapes. More...

enum  FillStyle { bs_solid, bs_null }
 The fill style that is used for basic shapes. More...

enum  Color {
  red, green, blue,
  yellow, orange, pink,
  skyblue, white, light_gray,
  gray, dark_gray, black,
  yellowOrange, numberOfColors
}
 The color that is used for basic shapes. More...


Static Public Member Functions

TypeOfDrawing getTypeOfDrawing (FieldDrawing)
TypeOfDrawing getTypeOfDrawing (ImageDrawing)
const char * getDrawingName (FieldDrawing fieldDrawing)
 Returns a description for an indexed fieldDrawing.

const char * getDrawingName (ImageDrawing imageDrawing)
 Returns a description for an indexed imageDrawing.

bool getDebugKeyID (enum FieldDrawing fieldDrawing, DebugKeyTable::debugKeyID &debugKeyID)
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 19 of file DebugDrawings.h.


Member Enumeration Documentation

enum Drawings::ShapeType
 

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

Enumeration values:
circle 
filledCircle 
line 
dot 
largeDot 
octangle 
arrow 

Definition at line 26 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.

Enumeration values:
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  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  kick angles in radar view
numberOfFieldDrawings 

Definition at line 35 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.

Enumeration values:
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_scanLines 
imageProcessor_coloredSegments1 
imageProcessor_coloredSegments2 
imageProcessor_coloredSegments3 
imageProcessor_calibration1 
imageProcessor_calibration2 
imageProcessor_ball1 
imageProcessor_ball2 
imageProcessor_ball3 
imageProcessor_ball4 
imageProcessor_ground 
imageProcessor_flagsAndGoals 
imageProcessor_obstacles 
imageProcessor_gradients 
imageProcessor_edges 
sketch 
numberOfImageDrawings 

Definition at line 81 of file DebugDrawings.h.

enum Drawings::TypeOfDrawing
 

Enumeration values:
drawingOnField 
drawingOnImage 

Definition at line 115 of file DebugDrawings.h.

Referenced by getTypeOfDrawing(), and MessageQueueBase::removeRepetitions().

enum Drawings::PenStyle
 

The pen style that is used for basic shapes.

Enumeration values:
ps_solid 
ps_dash 
ps_dot 
ps_null 

Definition at line 256 of file DebugDrawings.h.

enum Drawings::FillStyle
 

The fill style that is used for basic shapes.

Enumeration values:
bs_solid 
bs_null 

Definition at line 262 of file DebugDrawings.h.

enum Drawings::Color
 

The color that is used for basic shapes.

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

Definition at line 268 of file DebugDrawings.h.


Member Function Documentation

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

Definition at line 121 of file DebugDrawings.h.

References drawingOnField, and TypeOfDrawing.

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

Definition at line 122 of file DebugDrawings.h.

References drawingOnImage, and TypeOfDrawing.

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 128 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.

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 168 of file DebugDrawings.h.

References imageProcessor_ball1, imageProcessor_ball2, imageProcessor_ball3, imageProcessor_ball4, imageProcessor_calibration1, imageProcessor_calibration2, imageProcessor_coloredSegments1, imageProcessor_coloredSegments2, imageProcessor_coloredSegments3, imageProcessor_edges, imageProcessor_flagsAndGoals, imageProcessor_general, 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.

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

Definition at line 205 of file DebugDrawings.h.

References ballLocatorField, behavior_aStarSearch, behavior_CBBVector, behavior_CBBWay, behavior_kickAngles, behavior_kickAnglesRadar, dribbleBall, goaliePositionField, headControlField, models_corridorsRadar, selfLocatorField, and teamBallLocatorField.

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

Definition at line 228 of file DebugDrawings.h.

References imageProcessor_ball1, imageProcessor_ball2, imageProcessor_ball3, imageProcessor_ball4, imageProcessor_calibration1, imageProcessor_calibration2, imageProcessor_coloredSegments1, imageProcessor_coloredSegments2, imageProcessor_coloredSegments3, imageProcessor_edges, imageProcessor_flagsAndGoals, imageProcessor_general, imageProcessor_gradients, imageProcessor_ground, imageProcessor_horizon, imageProcessor_obstacles, imageProcessor_scanLines, selfLocator, and sketch.


The documentation for this class was generated from the following file:
Generated on Thu Sep 23 20:05:52 2004 for GT2004 by doxygen 1.3.6