CPoint3DCloudDoc.h
上传用户:yanweivga
上传日期:2008-02-19
资源大小:1056k
文件大小:2k
源码类别:

OpenGL

开发平台:

Visual C++

  1. // CPoint3DCloudDoc.h : interface of the CCPoint3DCloudDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CPOINT3DCLOUDDOC_H__AD80BE6E_92A4_44EA_985C_E143306B6A46__INCLUDED_)
  5. #define AFX_CPOINT3DCLOUDDOC_H__AD80BE6E_92A4_44EA_985C_E143306B6A46__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "CPoint3D.h"
  10. class COpenGL;
  11. class CCPoint3DCloudDoc : public CDocument
  12. {
  13. protected: // create from serialization only
  14. CCPoint3DCloudDoc();
  15. DECLARE_DYNCREATE(CCPoint3DCloudDoc)
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CCPoint3DCloudDoc)
  23. public:
  24. virtual BOOL OnNewDocument();
  25. virtual void Serialize(CArchive& ar);
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. BOOL OnFileOpenCATIA(FILE *f_txt);
  30. CView* GetView(CRuntimeClass *pViewClass);
  31. void OnDraw();
  32. virtual ~CCPoint3DCloudDoc();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. protected:
  38. //    vector<POINT3D> m_prToothPointsVertexList;
  39. vector<POINT7D> m_prToothPointsVertexList;
  40. POINT3D prBoxCenter;
  41. POINT3D prBoxSize;
  42. COpenGL *m_nDocOpenGL;
  43. // Generated message map functions
  44. protected:
  45. //{{AFX_MSG(CCPoint3DCloudDoc)
  46. afx_msg void OnFileOpen();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_CPOINT3DCLOUDDOC_H__AD80BE6E_92A4_44EA_985C_E143306B6A46__INCLUDED_)