#include <PotentialFieldViewerDlgBar.h>
Inheritance diagram for CPotentialFieldViewerDlgBar:
Definition at line 23 of file PotentialFieldViewerDlgBar.h.
anonymous enum |
enum CPotentialFieldViewerDlgBar::FieldViewType [protected] |
CPotentialFieldViewerDlgBar::CPotentialFieldViewerDlgBar | ( | CWnd * | pParent = NULL |
) |
Definition at line 22 of file PotentialFieldViewerDlgBar.cpp.
References fieldViewType, m_hGLContext, maxX, maxY, minX, minY, TeamMessageCollection::numberOfTeamMessages, POTENTIAL, potentialfields, somethingLoaded, stepsX, stepsY, stepWidthX, stepWidthY, and teamMessageCollection.
void CPotentialFieldViewerDlgBar::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 65 of file PotentialFieldViewerDlgBar.cpp.
References IDC_POTENTIALFIELD_OPEN, IDC_POTENTIALFIELD_SELECTOR, IDC_POTENTIALFIELD_SWITCH, m_fieldChooser, m_openButton, and m_viewSelector.
void CPotentialFieldViewerDlgBar::drawField | ( | ) | [protected] |
Definition at line 214 of file PotentialFieldViewerDlgBar.cpp.
References ballPosition, dirX, dirY, fieldViewType, PlayerPoseCollection::getOpponentPlayerPose(), PlayerPoseCollection::getOwnPlayerPose(), getPlayer(), PlayerPose::getPose(), maximum, maxX, maxY, minX, minY, PlayerPoseCollection::numberOfOpponentPlayers, playerPoseCollection, POTENTIAL, Player::red, robotPose, PfVec::rotate(), Pose2D::rotation, BallModel::seen, stepsX, stepsY, stepWidthX, stepWidthY, Pose2D::translation, value, VECTORS, Vector2< V >::x, PfVec::x, Vector2< V >::y, and PfVec::y.
Referenced by OnPaint().
void CPotentialFieldViewerDlgBar::getValues | ( | ) | [protected] |
Definition at line 362 of file PotentialFieldViewerDlgBar.cpp.
References ballPosition, dirX, dirY, GTStandardConverter::getDirectionArray(), GTStandardConverter::getValueArray(), m_fieldChooser, maximum, maxX, maxY, minX, minY, obstaclesModel, playerPoseCollection, potentialfields, robotPose, stepsX, stepsY, teamMessageCollection, value, and PfVec::y.
Referenced by OnPotentialfieldViewerOpenButton(), and OnSelchangePotentialfieldViewerFieldChooser().
bool CPotentialFieldViewerDlgBar::handleMessage | ( | InMessage & | message | ) | [virtual] |
Is called for incoming debug messages.
message | The message to handle. |
Reimplemented from CRobotControlDialogBar.
Definition at line 89 of file PotentialFieldViewerDlgBar.cpp.
References FALSE, idWorldState, and RECEIVE_WORLDSTATE.
void CPotentialFieldViewerDlgBar::initView | ( | ) | [protected] |
Definition at line 382 of file PotentialFieldViewerDlgBar.cpp.
References fromDegrees(), maxX, minX, and viewDistance.
Referenced by OnInitDialog(), and OnPaint().
int CPotentialFieldViewerDlgBar::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 126 of file PotentialFieldViewerDlgBar.cpp.
void CPotentialFieldViewerDlgBar::OnDestroy | ( | ) | [protected] |
Reimplemented from CDynamicDialog.
Definition at line 136 of file PotentialFieldViewerDlgBar.cpp.
References m_fieldChooser, m_hGLContext, CDynamicDialog::OnDestroy(), potentialfields, and somethingLoaded.
BOOL CPotentialFieldViewerDlgBar::OnInitDialog | ( | ) | [protected, virtual] |
Reimplemented from CDynamicDialog.
Definition at line 43 of file PotentialFieldViewerDlgBar.cpp.
References CDynamicWnd::AddSzControl(), OpenGLMethods::createViewGLContext(), initView(), m_fieldChooser, m_hGLContext, m_openButton, m_openGLDC, m_viewSelector, CDynamicWnd::mdRepos, CDynamicDialog::OnInitDialog(), OpenGLMethods::setWindowPixelFormat(), and TRUE.
void CPotentialFieldViewerDlgBar::OnPaint | ( | ) | [protected] |
Definition at line 110 of file PotentialFieldViewerDlgBar.cpp.
References drawField(), initView(), m_hGLContext, m_openGLDC, and somethingLoaded.
void CPotentialFieldViewerDlgBar::OnPotentialfieldViewerOpenButton | ( | ) | [protected] |
Definition at line 154 of file PotentialFieldViewerDlgBar.cpp.
References FALSE, GTStandardConverter::getFieldNames(), getValues(), GTStandardConverter::load(), m_fieldChooser, potentialfields, and somethingLoaded.
void CPotentialFieldViewerDlgBar::OnPotentialfieldViewerSwitchButton | ( | ) | [protected] |
Definition at line 193 of file PotentialFieldViewerDlgBar.cpp.
References FALSE, fieldViewType, POTENTIAL, and VECTORS.
void CPotentialFieldViewerDlgBar::OnSelchangePotentialfieldViewerFieldChooser | ( | ) | [protected] |
BallModel CPotentialFieldViewerDlgBar::ballPosition [protected] |
Definition at line 72 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
double CPotentialFieldViewerDlgBar::dirX[3200] [protected] |
Definition at line 67 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
double CPotentialFieldViewerDlgBar::dirY[3200] [protected] |
Definition at line 68 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
enum CPotentialFieldViewerDlgBar::FieldViewType CPotentialFieldViewerDlgBar::fieldViewType [protected] |
Referenced by CPotentialFieldViewerDlgBar(), drawField(), and OnPotentialfieldViewerSwitchButton().
Definition at line 33 of file PotentialFieldViewerDlgBar.h.
Referenced by DoDataExchange(), getValues(), OnDestroy(), OnInitDialog(), and OnPotentialfieldViewerOpenButton().
Definition at line 32 of file PotentialFieldViewerDlgBar.h.
HGLRC CPotentialFieldViewerDlgBar::m_hGLContext [protected] |
Definition at line 59 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), OnDestroy(), OnInitDialog(), and OnPaint().
Definition at line 35 of file PotentialFieldViewerDlgBar.h.
Referenced by DoDataExchange(), and OnInitDialog().
HDC CPotentialFieldViewerDlgBar::m_openGLDC [protected] |
Definition at line 60 of file PotentialFieldViewerDlgBar.h.
Referenced by OnInitDialog(), and OnPaint().
Definition at line 34 of file PotentialFieldViewerDlgBar.h.
Referenced by DoDataExchange(), and OnInitDialog().
double CPotentialFieldViewerDlgBar::maximum [protected] |
Definition at line 64 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
double CPotentialFieldViewerDlgBar::maxX [protected] |
Definition at line 63 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), drawField(), getValues(), and initView().
double CPotentialFieldViewerDlgBar::maxY [protected] |
Definition at line 63 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), drawField(), and getValues().
double CPotentialFieldViewerDlgBar::minX [protected] |
Definition at line 63 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), drawField(), getValues(), and initView().
double CPotentialFieldViewerDlgBar::minY [protected] |
Definition at line 63 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), drawField(), and getValues().
Definition at line 73 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
Definition at line 75 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), getValues(), OnDestroy(), and OnPotentialfieldViewerOpenButton().
RobotPose CPotentialFieldViewerDlgBar::robotPose [protected] |
Definition at line 71 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
bool CPotentialFieldViewerDlgBar::somethingLoaded [protected] |
Definition at line 69 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), OnDestroy(), OnPaint(), and OnPotentialfieldViewerOpenButton().
int CPotentialFieldViewerDlgBar::stepsX [protected] |
Definition at line 62 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), drawField(), and getValues().
int CPotentialFieldViewerDlgBar::stepsY [protected] |
Definition at line 62 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), drawField(), and getValues().
double CPotentialFieldViewerDlgBar::stepWidthX [protected] |
Definition at line 64 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), and drawField().
double CPotentialFieldViewerDlgBar::stepWidthY [protected] |
Definition at line 64 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), and drawField().
Definition at line 76 of file PotentialFieldViewerDlgBar.h.
Referenced by CPotentialFieldViewerDlgBar(), and getValues().
double CPotentialFieldViewerDlgBar::value[3200] [protected] |
Definition at line 66 of file PotentialFieldViewerDlgBar.h.
Referenced by drawField(), and getValues().
double CPotentialFieldViewerDlgBar::viewDistance [protected] |