ddDoc.h
上传用户:wjfckcom
上传日期:2014-06-28
资源大小:1989k
文件大小:2k
- // ddDoc.h : interface of the CDdDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #include "cv.h"
- #include "highgui.h"
- #if !defined(AFX_DDDOC_H__10CC38ED_E123_472C_9C02_B368B4AA4A1F__INCLUDED_)
- #define AFX_DDDOC_H__10CC38ED_E123_472C_9C02_B368B4AA4A1F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CDdDoc : public CDocument
- {
- protected: // create from serialization only
- CDdDoc();
- DECLARE_DYNCREATE(CDdDoc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDdDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- int width;
- int height;
- IplImage* pSrcImg;
- CvvImage myimage;
- virtual ~CDdDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDdDoc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DDDOC_H__10CC38ED_E123_472C_9C02_B368B4AA4A1F__INCLUDED_)