CImageViewerDlgBar Class Reference

#include <ImageViewerDlgBar.h>

Inheritance diagram for CImageViewerDlgBar:

CRobotControlDialogBar CDynamicBarDlg MessageHandler CDynamicChildDlg CDynamicDialog CDynamicWndEx CDynamicWnd List of all members.

Public Types

 IDD = IDD_DIALOG_BAR_IMAGEVIEWER
enum  { IDD = IDD_DIALOG_BAR_IMAGEVIEWER }

Public Member Functions

 CImageViewerDlgBar ()
 ~CImageViewerDlgBar ()

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnPaint ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
 DECLARE_MESSAGE_MAP ()

Private Member Functions

void changeLayout ()

Private Attributes

int dialogWidth
int dialogHeight
CRect rectImage1
CRect rectImage2
CRect rectImage3
CRect rectImage4
CRect rectImage5
CRect rectImage6
CRect rectImage7
CRect rectImage8

Detailed Description

class CImageViewerDlgBar

The image viewer dialog displays images and debug drawings from the queue-ToGUI. Thus images from the robot, the log player, or the simulator are displayed. The Image Viewer has space for four images with fixed resolution. With the context menu different types of images and different debug drawings can be selected.

Author:
Matthias Jüngel

Definition at line 25 of file ImageViewerDlgBar.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 33 of file ImageViewerDlgBar.h.


Constructor & Destructor Documentation

CImageViewerDlgBar::CImageViewerDlgBar (  ) 

Definition at line 15 of file ImageViewerDlgBar.cpp.

CImageViewerDlgBar::~CImageViewerDlgBar (  ) 

Definition at line 22 of file ImageViewerDlgBar.cpp.


Member Function Documentation

void CImageViewerDlgBar::changeLayout (  )  [private]

Definition at line 83 of file ImageViewerDlgBar.cpp.

References dialogHeight, CRobotControlDialogBar::getDebugImageCameraInfo(), rectImage1, rectImage2, rectImage3, rectImage4, rectImage5, rectImage6, rectImage7, rectImage8, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth.

Referenced by OnPaint(), and OnSize().

CImageViewerDlgBar::DECLARE_MESSAGE_MAP (  )  [protected]

Reimplemented from CDynamicBarDlg.

void CImageViewerDlgBar::DoDataExchange ( CDataExchange *  pDX  )  [protected, virtual]

Definition at line 26 of file ImageViewerDlgBar.cpp.

void CImageViewerDlgBar::OnContextMenu ( CWnd *  pWnd,
CPoint  point 
) [protected]

Definition at line 214 of file ImageViewerDlgBar.cpp.

References DrawingPapers::imageViewer1, DrawingPapers::imageViewer2, DrawingPapers::imageViewer3, DrawingPapers::imageViewer4, DrawingPapers::imageViewer5, DrawingPapers::imageViewer6, DrawingPapers::imageViewer7, DrawingPapers::imageViewer8, rectImage1, rectImage2, rectImage3, rectImage4, rectImage5, rectImage6, rectImage7, rectImage8, and DebugDrawingManagerUI::showContextMenu().

BOOL CImageViewerDlgBar::OnInitDialog (  )  [protected, virtual]

Reimplemented from CDynamicDialog.

Definition at line 42 of file ImageViewerDlgBar.cpp.

References DrawingPapers::imageViewer1, DrawingPapers::imageViewer2, DrawingPapers::imageViewer3, DrawingPapers::imageViewer4, DrawingPapers::imageViewer5, DrawingPapers::imageViewer6, DrawingPapers::imageViewer7, DrawingPapers::imageViewer8, CDynamicDialog::OnInitDialog(), and TRUE.

void CImageViewerDlgBar::OnPaint (  )  [protected]

Definition at line 57 of file ImageViewerDlgBar.cpp.

References changeLayout(), DrawingPapers::imageViewer1, DrawingPapers::imageViewer2, DrawingPapers::imageViewer3, DrawingPapers::imageViewer4, DrawingPapers::imageViewer5, DrawingPapers::imageViewer6, DrawingPapers::imageViewer7, DrawingPapers::imageViewer8, CRobotControlDialogBar::paintDrawingPaper(), rectImage1, rectImage2, rectImage3, rectImage4, rectImage5, rectImage6, rectImage7, and rectImage8.

void CImageViewerDlgBar::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Reimplemented from CDynamicDialog.

Definition at line 74 of file ImageViewerDlgBar.cpp.

References changeLayout(), dialogHeight, and dialogWidth.


Member Data Documentation

int CImageViewerDlgBar::dialogHeight [private]

Definition at line 59 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), and OnSize().

int CImageViewerDlgBar::dialogWidth [private]

Definition at line 56 of file ImageViewerDlgBar.h.

Referenced by OnSize().

CRect CImageViewerDlgBar::rectImage1 [private]

The rect where the first image is painted

Definition at line 62 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage2 [private]

The rect where the second image is painted

Definition at line 65 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage3 [private]

The rect where the third image is painted

Definition at line 68 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage4 [private]

The rect where the fourth image is painted

Definition at line 71 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage5 [private]

The rect where the 5th image is painted

Definition at line 74 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage6 [private]

The rect where the 6th image is painted

Definition at line 77 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage7 [private]

The rect where the 7th image is painted

Definition at line 80 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().

CRect CImageViewerDlgBar::rectImage8 [private]

The rect where the 8th image is painted

Definition at line 83 of file ImageViewerDlgBar.h.

Referenced by changeLayout(), OnContextMenu(), and OnPaint().


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