📄 mfc122view.h
字号:
// MFC122View.h : interface of the CMFC122View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MFC122VIEW_H__B3C03313_5F04_4947_9812_2E07CA382C71__INCLUDED_)
#define AFX_MFC122VIEW_H__B3C03313_5F04_4947_9812_2E07CA382C71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <vrWindow.h>
#include "vpPositionable.h"
#include "vpSearchPath.h"
#include "vpKernel.h"
#include "vuMath.h"
#include <vuImage.h>
#include <vuImageFactory.h>
#include <GL/gl.h>
#include <time.h>
#include <vsgu.h>
#include <vp.h>
#include <vpApp.h>
#include <vuAllocTracer.h>
#include <vpIsectorLOS.h>
#include <vsDof.h>
#include <vsLod.h>
#include <vrLight.h>
#include <vrMode.h>
#include <vpInput.h>
#include <vpMotionUfo.h>
#include <vpInputMouse.h>
#include <vsTraversalUser.h>
#include <vsGeometry.h>
#include <vpInputKeyboard.h>
#include "vpMulderPicker.h"
class HighlightStrategy;
class CMFC122View : public CView
{
protected: // create from serialization only
CMFC122View();
DECLARE_DYNCREATE(CMFC122View)
// Attributes
public:
CMFC122Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMFC122View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
public:
void createPicker();
void postConfigure();
virtual ~CMFC122View();
static bool myVrWinMsgHandler(vrWindow *vrWin,
vrWindow::Message id, int param1, int param2, int param3);
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMFC122View)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MFC122View.cpp
inline CMFC122Doc* CMFC122View::GetDocument()
{ return (CMFC122Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MFC122VIEW_H__B3C03313_5F04_4947_9812_2E07CA382C71__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -