home *** CD-ROM | disk | FTP | other *** search
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CMainFrame : public CFrameWnd
- {
- public:
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
-
- // Attributes
- public:
- C3dWnd m_wnd3d;
- C3dScene* m_pScene;
-
- // Operations
- public:
- BOOL SetScene();
- BOOL OpenFile(const char* pszFile);
- BOOL Update(double d);
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void RecalcLayout(BOOL bNotify = TRUE);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected: // control bar embedded members
- CStatusBar m_wndStatusBar;
- CToolBar m_wndToolBar;
- C3dVector m_vCamera;
- double m_dRadius;
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg void OnActivateApp(BOOL bActive, HTASK hTask);
- afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
- afx_msg void OnMove(int x, int y);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-