FieldView Class Reference

Inheritance diagram for FieldView:

DirectView View Sensor SimObject List of all members.

Public Member Functions

 FieldView (RobotConsole &c, const DebugDrawing *d, const Drawings::FieldDrawing *l, int n, Player::teamColor &color)
void draw (CDC &dc)

Private Attributes

RobotConsoleconsole
const DebugDrawingdrawings
const Drawings::FieldDrawinglayers
const int numOfLayers
const Player::teamColorownColor

Detailed Description

Definition at line 106 of file RobotConsole.cpp.


Constructor & Destructor Documentation

FieldView::FieldView ( RobotConsole c,
const DebugDrawing d,
const Drawings::FieldDrawing l,
int  n,
Player::teamColor color 
) [inline]

Definition at line 116 of file RobotConsole.cpp.


Member Function Documentation

void FieldView::draw ( CDC &  dc  )  [virtual]

The function is called when the view has to be drawn.

Parameters:
dc A device context to draw to.

Implements DirectView.

Definition at line 126 of file RobotConsole.cpp.

References console, drawings, Drawings::fieldLines, Drawings::fieldPolygons, layers, numOfLayers, ownColor, PaintMethodsWin32::paintDebugDrawingToCDC(), DrawingMethods::paintFieldLines(), DrawingMethods::paintFieldPolygons(), and SYNC_WITH.


Member Data Documentation

RobotConsole& FieldView::console [private]

Definition at line 109 of file RobotConsole.cpp.

Referenced by draw().

const DebugDrawing* FieldView::drawings [private]

Definition at line 110 of file RobotConsole.cpp.

Referenced by draw().

const Drawings::FieldDrawing* FieldView::layers [private]

Definition at line 111 of file RobotConsole.cpp.

Referenced by draw().

const int FieldView::numOfLayers [private]

Definition at line 112 of file RobotConsole.cpp.

Referenced by draw().

const Player::teamColor& FieldView::ownColor [private]

Definition at line 113 of file RobotConsole.cpp.

Referenced by draw().


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