小波变换Doc.h
上传用户:aqingfeng
上传日期:2014-03-25
资源大小:1839k
文件大小:2k
- // 小波变换Doc.h : interface of the CMyDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DOC_H__BA3A83A1_1121_4D0E_9040_789725F00700__INCLUDED_)
- #define AFX_DOC_H__BA3A83A1_1121_4D0E_9040_789725F00700__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "dibapi.h"
- class CMyDoc : public CDocument
- {
- protected: // create from serialization only
- CMyDoc();
- DECLARE_DYNCREATE(CMyDoc)
- // Attributes
- public:
- HDIB GetHDIB() const
- { return m_hDIB; }
- CPalette* GetDocPalette() const
- { return m_palDIB; }
- CSize GetDocSize() const
- { return m_sizeDoc; }
- // Operations
- public:
- bool m_bOnce, m_bTwice, m_bTribl, m_bFilter ;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- virtual void Serialize(CArchive& ar);
- virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMyDoc();
- void InitDIBData();
- void Openanother();
- BOOL m_fDirty;
- CString m_strFileName;
- CString m_strFileFusion;
- short** m_WvltCoeff;
- unsigned char* m_pBitmap;
- unsigned char* m_pTransfered;
- HDIB m_hMulDIB;
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- HDIB m_hDIB;
- CPalette* m_palDIB;
- CSize m_sizeDoc;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyDoc)
- afx_msg void OnWvltHortrans();
- afx_msg void OnWvltVertrans();
- afx_msg void OnWvltTransOnce();
- afx_msg void OnWvltTransTwice();
- afx_msg void OnWvltTransTrbl();
- afx_msg void OnDiprocEnhace();
- afx_msg void OnDiprocFusion();
- afx_msg void OnDiprocRever();
- afx_msg void OnFilterBlur();
- afx_msg void OnFilterSharpness();
- afx_msg void OnFilterBlur2();
- afx_msg void OnFilterSharpness2();
- afx_msg void OnFileReopen();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DOC_H__BA3A83A1_1121_4D0E_9040_789725F00700__INCLUDED_)