AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
AuView3d.h
浏览该文件的文档.
1 #pragma once
2 
3 #include "AuView3dAPI.h"
4 
11  : public CView
12  , public AuView3dAPI
13 {
14  DECLARE_DYNCREATE(AuView3d)
15  typedef CView AuSuper;
16 
17 public:
18  virtual void OnChangeCursor (const AnyCAD::API::String& commandId, const AnyCAD::API::String& cursorHint);
19 
20 protected:
21  AuView3d();
22  virtual ~AuView3d();
23 
24 protected:
26 
27 public:
28  virtual void OnDraw(CDC* pDC);
29  virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
30 #ifdef _DEBUG
31  virtual void AssertValid() const;
32 #ifndef _WIN32_WCE
33  virtual void Dump(CDumpContext& dc) const;
34 #endif
35 #endif
36 
37 protected:
38  DECLARE_MESSAGE_MAP()
39 public:
40  virtual void OnInitialUpdate();
41  afx_msg void OnSize(UINT nType, int cx, int cy);
42  afx_msg void OnDestroy();
43  afx_msg BOOL OnEraseBkgnd(CDC* pDC);
44  afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
45  afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
46  afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
47  afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
48  afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
49  afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
50  afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
51  afx_msg void OnMouseMove(UINT nFlags, CPoint point);
52  afx_msg void OnTimer(UINT_PTR nIDEvent);
53  afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
54  afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
55  afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
56 };
57 
58 
std::string String
Definition: APIString.h:10
The view 3d control API for MFC.
Definition: AuView3dAPI.h:16
#define ANYPLATFORMMFC_API
Definition: AnyPlatformMFCAPI.h:7
The view 3d control for MFC CView.
Definition: AuView3d.h:10
bool m_bInitialized
Definition: AuView3d.h:25