ImageProcessingView.h
上传用户:piaozanzhu
上传日期:2008-02-14
资源大小:212k
文件大小:2k
源码类别:

图形图像处理

开发平台:

Visual C++

  1. // ImageProcessingView.h : interface of the CImageProcessingView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_IMAGEPROCESSINGVIEW_H__613B030F_9C37_11D6_A6C4_00D0094CCE8A__INCLUDED_)
  5. #define AFX_IMAGEPROCESSINGVIEW_H__613B030F_9C37_11D6_A6C4_00D0094CCE8A__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CImageProcessingView : public CScrollView
  10. {
  11. protected: // create from serialization only
  12. CImageProcessingView();
  13. DECLARE_DYNCREATE(CImageProcessingView)
  14. // Attributes
  15. public:
  16. BOOL DIBDWTStep(CDib* pDib, int nInv);
  17. CImageProcessingDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CImageProcessingView)
  23. public:
  24. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. protected:
  27. virtual void OnInitialUpdate(); // called first time after construct
  28. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  29. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. public:
  34. virtual ~CImageProcessingView();
  35. #ifdef _DEBUG
  36. virtual void AssertValid() const;
  37. virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39. protected:
  40. // Generated message map functions
  41. protected:
  42. //{{AFX_MSG(CImageProcessingView)
  43. afx_msg void OnMosaic();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. #ifndef _DEBUG  // debug version in ImageProcessingView.cpp
  48. inline CImageProcessingDoc* CImageProcessingView::GetDocument()
  49.    { return (CImageProcessingDoc*)m_pDocument; }
  50. #endif
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_IMAGEPROCESSINGVIEW_H__613B030F_9C37_11D6_A6C4_00D0094CCE8A__INCLUDED_)