3DDoc.cpp
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:1k
源码类别:

图形图象

开发平台:

Visual C++

  1. // 3DDoc.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "ebdlib3.h"
  5. #include "3DDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // C3DDocument
  13. IMPLEMENT_DYNCREATE(C3DDocument, CDocument)
  14. C3DDocument::C3DDocument()
  15.     :CStandardDoc()
  16. {
  17. }
  18. BOOL C3DDocument::OnNewDocument()
  19. {
  20. if (!CDocument::OnNewDocument())
  21. return FALSE;
  22. return TRUE;
  23. }
  24. C3DDocument::~C3DDocument()
  25. {
  26. }
  27. BEGIN_MESSAGE_MAP(C3DDocument, CDocument)
  28. //{{AFX_MSG_MAP(C3DDocument)
  29. //}}AFX_MSG_MAP
  30. END_MESSAGE_MAP()
  31. /////////////////////////////////////////////////////////////////////////////
  32. // C3DDocument diagnostics
  33. #ifdef _DEBUG
  34. void C3DDocument::AssertValid() const
  35. {
  36. CDocument::AssertValid();
  37. }
  38. void C3DDocument::Dump(CDumpContext& dc) const
  39. {
  40. CDocument::Dump(dc);
  41. }
  42. #endif //_DEBUG
  43. /////////////////////////////////////////////////////////////////////////////
  44. // C3DDocument serialization
  45. void C3DDocument::Serialize(CArchive& ar)
  46. {
  47. if (ar.IsStoring())
  48. {
  49. // TODO: add storing code here
  50. }
  51. else
  52. {
  53. // TODO: add loading code here
  54. }
  55. }
  56. /////////////////////////////////////////////////////////////////////////////
  57. // C3DDocument commands