: Public Class
Created: 2015-07-31 오후 4:10:15
Modified: 2015-07-31 오후 4:10:22
Project:
Advanced:
Attribute
Private CBitmap
  _bitmap
Details:
 
Private CBitmap*
  _bitmapOld
Details:
 
Private CDC
  _memDC
Details:
 
Private CRect
  _memDCRect
Details:
Notes: 화면 깜박임을 없애기 위해 메모리 DC를 사용한다. 메모리 DC에 그림을 그린 후, 이를 대화상자로 복사한다.#lt;p/#gt;
Operation
Public
CDlgVehicleStatus( pParent: CWnd*,
):
Details:
Sequential
Tags: initializer=CDialog(CDlgVehicleStatus::IDD, pParent)
Public abstract
~CDlgVehicleStatus():
Details:
Sequential
Protected abstract
DoDataExchange( pDX: CDataExchange*,
):void
Details:
Sequential
Private
DrawBg( dc: CDC&,
):void
Details:
Sequential
Private
DrawCar( dc: CDC&,
):void
Details:
Sequential
Private
DrawHallSensor( dc: CDC&,
):void
Details:
Sequential
Private
DrawVector( dc: CDC&,
x: double,
y: double,
vx: double,
vy: double,
thick: int,
color: COLORREF,
):void
Details:
Sequential
Private
DrawWheel( dc: CDC&,
x: double,
y: double,
r: double,
t: double,
theta: double,
color: COLORREF,
):void
Details:
Sequential
Private
JoystickControl( linearVel: double&,
steerAngle: double&,
buttons: DWORD&,
):bool
Details:
Sequential
Private
M2Pl( d: double,
):int
Details:
Sequential
Tags: bodyLocation=classDec
inline=true
Private
M2Px( x: double,
):int
Details:
Sequential
Tags: bodyLocation=classDec
inline=true
Private
M2Py( y: double,
):int
Details:
Sequential
Tags: bodyLocation=classDec
inline=true
Private
ManualControl( dt: double,
):void
Details:
Sequential
Public
OnBnClickedBtAdjustHallSensor():void
Details:
Sequential
Tags: afx_msg=true
Public
OnBnClickedButtonSet():void
Details:
Sequential
Tags: afx_msg=true
Public abstract
OnInitDialog():BOOL
Details:
Sequential
Notes: CDlgVehicleStatus message handlers#lt;p/#gt;
Public
OnPaint():void
Details:
Sequential
Tags: afx_msg=true
Notes: If you add a minimize button to your dialog, you will need the code below to draw the icon.  For MFC applications using the document/view model, this is automatically done for you by the framework.#lt;p/#gt;
Public
OnQueryDragIcon():HCURSOR
Details:
Sequential
Tags: afx_msg=true
Public
OnTimer( nIDEvent: UINT_PTR,
):void
Details:
Sequential
Tags: afx_msg=true
Private
UpdateScreen( dt: double,
):void
Details:
Sequential
Private
UpdateText( dt: double,
):void
Details:
Sequential