// WalkthroughDoc.h : interface of the CWalkthroughDoc class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_VIEWERDOC_H__4EF39FBA_4EBB_11D1_8D67_0800369C8A03__INCLUDED_) #define AFX_VIEWERDOC_H__4EF39FBA_4EBB_11D1_8D67_0800369C8A03__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #include class CWalkthroughDoc : public OCC_3dBaseDoc { public: Handle_V3d_Viewer GetViewer() { return myViewer; }; Handle_AIS_InteractiveContext GetAISContext() { return myAISContext; }; protected: // create from serialization only CWalkthroughDoc(); DECLARE_DYNCREATE(CWalkthroughDoc) // Attributes public: double m_Xmin, m_Ymin, m_Zmin, m_Xmax, m_Ymax, m_Zmax; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CWalkthroughDoc) public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); //}}AFX_VIRTUAL // Implementation public: virtual ~CWalkthroughDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CWalkthroughDoc) afx_msg void OnFileOpen(); afx_msg void OnFileLoadgrid(); afx_msg void OnUpdateWalkWalkthru(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VIEWERDOC_H__4EF39FBA_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)