#include <RadarViewerDlgBar.h>
Inheritance diagram for CRadarViewerDlgBar:
Definition at line 36 of file RadarViewerDlgBar.h.
anonymous enum |
anonymous enum [private] |
CRadarViewerDlgBar::CRadarViewerDlgBar | ( | ) |
Definition at line 21 of file RadarViewerDlgBar.cpp.
References m_LeftButtonDown, and numberOfShownEntries.
void CRadarViewerDlgBar::copyToClipBoard | ( | ) | [private] |
Definition at line 136 of file RadarViewerDlgBar.cpp.
References paintCurrentSelectionToCDC().
Referenced by OnContextMenu().
CRadarViewerDlgBar::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
Reimplemented from CDynamicBarDlg.
void CRadarViewerDlgBar::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 31 of file RadarViewerDlgBar.cpp.
References IDC_RADAR_BUFFER_EDIT, and m_bufferEdit.
bool CRadarViewerDlgBar::handleMessage | ( | InMessage & | message | ) | [virtual] |
Called from a MessageQueue to distribute messages
message | The message that can be read. |
Reimplemented from CRobotControlDialogBar.
Definition at line 315 of file RadarViewerDlgBar.cpp.
References RingBuffer< V, n >::add(), ballModelBuffer, ballPerceptBuffer, InMessage::bin, cameraInfoBuffer, cameraMatrixBuffer, FALSE, BallPercept::frameNumber, CameraMatrix::frameNumber, InMessage::getMessageID(), RingBuffer< V, n >::getNumberOfEntries(), idImage, idPercepts, idWorldState, image, imageBuffer, landmarksPerceptBuffer, linesPerceptBuffer, obstaclesModelBuffer, obstaclesPerceptBuffer, psdPerceptBuffer, RECEIVE_IMAGE, RECEIVE_PERCEPTS, RECEIVE_WORLDSTATE, and robotPoseBuffer.
void CRadarViewerDlgBar::OnConfigurationLoad | ( | CString | sectionName | ) | [private, virtual] |
Is called when a configuration is loaded. Can be used by the dialogs and bars to load configuration dependand settings.
sectionName | The registry section for the current configuration |
Reimplemented from CRobotControlDialogBar.
Definition at line 424 of file RadarViewerDlgBar.cpp.
References ballAsCross, bufferSize, lineToBall, m_bufferEdit, numberOfShownEntries, scale, showAngleOfView, showBallModel, showBallPerceptBearingBased, showBallPerceptSizeBased, showCoordinateSystem, showImage, showImageOnGround, showJointData, showLandmarksPercept, showLinesPercept, showObstaclesModel, showObstaclesPercept, showPlayersPercept, showPSDPercept, showRobot, and showSensorData.
void CRadarViewerDlgBar::OnConfigurationSave | ( | CString | sectionName | ) | [private, virtual] |
Is called when a configuration is saved. Can be used by the dialogs and bars to save configuration dependand settings.
sectionName | The registry section for the current configuration |
Reimplemented from CRobotControlDialogBar.
Definition at line 458 of file RadarViewerDlgBar.cpp.
References ballAsCross, lineToBall, numberOfShownEntries, scale, showAngleOfView, showBallModel, showBallPerceptBearingBased, showBallPerceptSizeBased, showCoordinateSystem, showImage, showImageOnGround, showJointData, showLandmarksPercept, showLinesPercept, showObstaclesModel, showObstaclesPercept, showPlayersPercept, showPSDPercept, showRobot, and showSensorData.
void CRadarViewerDlgBar::OnContextMenu | ( | CWnd * | pWnd, | |
CPoint | point | |||
) | [protected] |
Definition at line 177 of file RadarViewerDlgBar.cpp.
References ballAsCross, copyToClipBoard(), lineToBall, showAngleOfView, showBallModel, showBallPerceptBearingBased, showBallPerceptSizeBased, showCoordinateSystem, showImage, showImageOnGround, showJointData, showLandmarksPercept, showLinesPercept, showObstaclesModel, showObstaclesPercept, showPlayersPercept, showPSDPercept, showRobot, showSensorData, and VERIFY.
void CRadarViewerDlgBar::OnEnChangeRadarBufferEdit | ( | ) |
Definition at line 402 of file RadarViewerDlgBar.cpp.
References bufferSize, FALSE, m_bufferEdit, and numberOfShownEntries.
BOOL CRadarViewerDlgBar::OnInitDialog | ( | ) | [protected, virtual] |
Reimplemented from CDynamicDialog.
Definition at line 53 of file RadarViewerDlgBar.cpp.
References CDynamicDialog::OnInitDialog(), and TRUE.
void CRadarViewerDlgBar::OnLButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) |
Definition at line 411 of file RadarViewerDlgBar.cpp.
References m_LeftButtonDown, and m_LeftDownPos.
void CRadarViewerDlgBar::OnLButtonUp | ( | UINT | nFlags, | |
CPoint | point | |||
) |
void CRadarViewerDlgBar::OnMouseMove | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
Definition at line 384 of file RadarViewerDlgBar.cpp.
References abs(), FALSE, m_LeftButtonDown, m_LeftDownPos, and scale.
void CRadarViewerDlgBar::OnPaint | ( | ) | [protected] |
Definition at line 59 of file RadarViewerDlgBar.cpp.
References paintCurrentSelectionToCDC(), rect, and scale.
void CRadarViewerDlgBar::OnSize | ( | UINT | nType, | |
int | cx, | |||
int | cy | |||
) | [protected] |
Reimplemented from CDynamicDialog.
Definition at line 168 of file RadarViewerDlgBar.cpp.
References rect.
void CRadarViewerDlgBar::paintCurrentSelectionToCDC | ( | CDC & | dc, | |
bool | paintFrame = false | |||
) | [private] |
Definition at line 109 of file RadarViewerDlgBar.cpp.
References ballAsCross, ballModelBuffer, ballPerceptBuffer, cameraInfoBuffer, cameraMatrixBuffer, RingBuffer< V, n >::getNumberOfEntries(), imageBuffer, landmarksPerceptBuffer, linesPerceptBuffer, lineToBall, numberOfShownEntries, obstaclesModelBuffer, obstaclesPerceptBuffer, PaintMethodsWin32::paintBallModelToCDC(), PaintMethodsWin32::paintBallPerceptToCDC(), PaintMethodsWin32::paintCameraMatrixToCDC(), PaintMethodsWin32::paintCoordinateSystemToCDC(), PaintMethodsWin32::paintFrameForScalingToCDC(), PaintMethodsWin32::paintImageProjectionOnGroundToCDC(), PaintMethodsWin32::paintLandmarksPerceptToCDC(), PaintMethodsWin32::paintLinesPerceptToCDC(), PaintMethodsWin32::paintObstaclesModelToCDC(), PaintMethodsWin32::paintObstaclesPerceptToCDC(), PaintMethodsWin32::paintPSDPerceptToCDC(), PaintMethodsWin32::paintRobotToCDC(), psdPerceptBuffer, robotPoseBuffer, showAngleOfView, showBallModel, showBallPerceptBearingBased, showBallPerceptSizeBased, showCoordinateSystem, showImageOnGround, showLandmarksPercept, showLinesPercept, showObstaclesModel, showObstaclesPercept, showPSDPercept, and showRobot.
Referenced by copyToClipBoard(), and OnPaint().
bool CRadarViewerDlgBar::ballAsCross [private] |
Definition at line 130 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
RingBuffer<BallModel, bufferSize> CRadarViewerDlgBar::ballModelBuffer [private] |
Definition at line 99 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<BallPercept, bufferSize> CRadarViewerDlgBar::ballPerceptBuffer [private] |
Definition at line 98 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<CameraInfo, bufferSize> CRadarViewerDlgBar::cameraInfoBuffer [private] |
Definition at line 107 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<CameraMatrix, bufferSize> CRadarViewerDlgBar::cameraMatrixBuffer [private] |
Definition at line 106 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<Image, bufferSize> CRadarViewerDlgBar::imageBuffer [private] |
Definition at line 108 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<LandmarksPercept, bufferSize> CRadarViewerDlgBar::landmarksPerceptBuffer [private] |
Definition at line 100 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<LinesPercept, bufferSize> CRadarViewerDlgBar::linesPerceptBuffer [private] |
Definition at line 101 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::lineToBall [private] |
Definition at line 131 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
Definition at line 50 of file RadarViewerDlgBar.h.
Referenced by DoDataExchange(), OnConfigurationLoad(), and OnEnChangeRadarBufferEdit().
bool CRadarViewerDlgBar::m_LeftButtonDown [private] |
Definition at line 91 of file RadarViewerDlgBar.h.
Referenced by CRadarViewerDlgBar(), OnLButtonDown(), OnLButtonUp(), and OnMouseMove().
CPoint CRadarViewerDlgBar::m_LeftDownPos [private] |
Definition at line 90 of file RadarViewerDlgBar.h.
Referenced by OnLButtonDown(), and OnMouseMove().
int CRadarViewerDlgBar::numberOfShownEntries [private] |
Definition at line 110 of file RadarViewerDlgBar.h.
Referenced by CRadarViewerDlgBar(), OnConfigurationLoad(), OnConfigurationSave(), OnEnChangeRadarBufferEdit(), and paintCurrentSelectionToCDC().
RingBuffer<ObstaclesModel, bufferSize> CRadarViewerDlgBar::obstaclesModelBuffer [private] |
Definition at line 104 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<ObstaclesPercept, bufferSize> CRadarViewerDlgBar::obstaclesPerceptBuffer [private] |
Definition at line 102 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
RingBuffer<PSDPercept, bufferSize> CRadarViewerDlgBar::psdPerceptBuffer [private] |
Definition at line 105 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
CRect CRadarViewerDlgBar::rect [private] |
The rect where the image is painted
Definition at line 94 of file RadarViewerDlgBar.h.
RingBuffer<RobotPose, bufferSize> CRadarViewerDlgBar::robotPoseBuffer [private] |
Definition at line 103 of file RadarViewerDlgBar.h.
Referenced by handleMessage(), and paintCurrentSelectionToCDC().
double CRadarViewerDlgBar::scale [private] |
Definition at line 87 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnMouseMove(), and OnPaint().
bool CRadarViewerDlgBar::showAngleOfView [private] |
Definition at line 125 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showBallModel [private] |
Definition at line 117 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showBallPerceptBearingBased [private] |
Definition at line 116 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showBallPerceptSizeBased [private] |
Definition at line 115 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showCoordinateSystem [private] |
Definition at line 113 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showImage [private] |
Definition at line 126 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), and OnContextMenu().
bool CRadarViewerDlgBar::showImageOnGround [private] |
Definition at line 127 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showJointData [private] |
Definition at line 124 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), and OnContextMenu().
bool CRadarViewerDlgBar::showLandmarksPercept [private] |
Definition at line 118 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showLinesPercept [private] |
Definition at line 120 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showObstaclesModel [private] |
Definition at line 122 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showObstaclesPercept [private] |
Definition at line 121 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showPlayersPercept [private] |
Definition at line 119 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), and OnContextMenu().
bool CRadarViewerDlgBar::showPSDPercept [private] |
Definition at line 128 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showRobot [private] |
Definition at line 114 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), OnContextMenu(), and paintCurrentSelectionToCDC().
bool CRadarViewerDlgBar::showSensorData [private] |
Definition at line 123 of file RadarViewerDlgBar.h.
Referenced by OnConfigurationLoad(), OnConfigurationSave(), and OnContextMenu().