| CSTLViewerApp | | CMainFrame | |
变量 | | | | |
| | | public: | |
| | | CTabSheetDockBar | m_LeftDockBar; |
| | | CMessageViewDockBar | m_OutputDockBar; |
| | | protected: | |
| | | CStatusBar | m_wndStatusBar; |
| | | CToolBar | m_wndToolBar; |
| | | CToolBar | m_wndDisplayBar; |
函数 | | | | |
| public: | | protected: | |
| | CSTLViewerApp(); | | CMainFrame(); |
| virtual BOOL | InitInstance(); | | DECLARE_DYNCREATE(CMainFrame) |
| afx_msg void | OnAppAbout(); | public: | |
| | DECLARE_MESSAGE_MAP() | virtual BOOL | PreCreateWindow(CREATESTRUCT& cs); |
| | | virtual | ~CMainFrame(); |
| | | protected: | |
| | | | DECLARE_MESSAGE_MAP() |
| | | void | DockControlBarLeftOf(CToolBar* Bar,CToolBar* LeftOf); |
| CSTLViewerDoc | | CSTLViewerView | |
变量 | | | | |
| public: | | | |
| CPart | m_Part; | | |
函数 | | | | |
| protected: | | protected: | |
| | CSTLViewerDoc(); | | CSTLViewerView(); |
| | DECLARE_DYNCREATE(CSTLViewerDoc) | | DECLARE_DYNCREATE(CSTLViewerView) |
| public: | | public: | |
| virtual BOOL | OnNewDocument(); | CSTLViewerDoc* | GetDocument(); |
| virtual void | Serialize(CArchive& ar); | virtual void | RenderScene(COpenGLDC* pDC); |
| virtual void | OnCloseDocument(); | virtual BOOL | PreCreateWindow(CREATESTRUCT& cs); |
| virtual | ~CSTLViewerDoc(); | virtual | ~CSTLViewerView(); |
| protected: | | afx_msg int | OnCreate(LPCREATESTRUCT lpCreateStruct); |
| afx_msg void | OnStlFilein(); | afx_msg void | OnMButtonDown(UINT nFlags, CPoint point); |
| afx_msg void | OnDefFilein(); | afx_msg BOOL | OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); |
| | DECLARE_MESSAGE_MAP() | protected: | |
| | | afx_msg void | OnViewBack(); |
| | | afx_msg void | OnViewBottom(); |
| | | afx_msg void | OnViewFront(); |
| | | afx_msg void | OnViewLeft(); |
| | | afx_msg void | OnViewRight(); |
| | | afx_msg void | OnViewTop(); |
| | | afx_msg void | OnViewSWIsometric(); |
| | | afx_msg void | OnViewSEIsometric(); |
| | | afx_msg void | OnViewNEIsometric(); |
| | | afx_msg void | OnViewNWIsometric(); |
| | | afx_msg void | OnViewZoomall(); |
| | | afx_msg void | OnViewZoomin(); |
| | | afx_msg void | OnViewZoomout(); |
| | | afx_msg void | OnViewShade(); |
| | | afx_msg void | OnLButtonDown(UINT nFlags, CPoint point); |
| | | afx_msg void | OnContextMenu(CWnd* pWnd, CPoint point); |
| | | | DECLARE_MESSAGE_MAP() |