ch1_1View.h
上传用户:gdjinyi
上传日期:2013-02-01
资源大小:1701k
文件大小:4k
源码类别:

源码/资料

开发平台:

Visual C++

  1. // ch1_1View.h : interface of the CCh1_1View class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_CH1_1VIEW_H__60AAD957_ED0B_48FF_834E_78C547411B15__INCLUDED_) #define AFX_CH1_1VIEW_H__60AAD957_ED0B_48FF_834E_78C547411B15__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CCh1_1View : public CScrollView { protected: // create from serialization only CCh1_1View(); DECLARE_DYNCREATE(CCh1_1View) // Attributes public: CCh1_1Doc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCh1_1View) public: virtual void OnDraw(CDC* pDC);  // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnInitialUpdate(); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); protected: virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder); //}}AFX_VIRTUAL // Implementation public: virtual ~CCh1_1View(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CCh1_1View) afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  2. afx_msg void OnEditCopy();
  3. afx_msg void OnEditPaste();
  4. afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
  5. afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
  6. afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam);  // user message
  7. afx_msg void OnGeomTran();
  8. afx_msg void OnGeomMirv();
  9. afx_msg void OnGeomMirh();
  10. afx_msg void OnGeomRota();
  11. afx_msg void OnGeomTrpo();
  12. afx_msg void OnGeomZoom();
  13. afx_msg void OnTempSharp();
  14. afx_msg void OnTempSmooth();
  15. afx_msg void OnTEMPMidianF();
  16. afx_msg void OnPointInvert();
  17. afx_msg void OnPointEqua();
  18. afx_msg void OnPointLiner();
  19. afx_msg void OnPointWind();
  20. afx_msg void OnViewIntensity();
  21. afx_msg void OnPointStre();
  22. afx_msg void OnFreqFour();
  23. afx_msg void OnFreqDct();
  24. afx_msg void OnPointThre();
  25. afx_msg void OnEnhaSmooth();
  26. afx_msg void OnENHAMidianF();
  27. afx_msg void OnEnhaSharp();
  28. afx_msg void OnEnhaColor();
  29. afx_msg void OnFILE256ToGray();
  30. afx_msg void OnEnhaGradsharp();
  31. afx_msg void OnFreqWalh();
  32. afx_msg void OnCodeHuffman();
  33. afx_msg void OnCodeRLE();
  34. afx_msg void OnCodeIRLE();
  35. afx_msg void OnCodeJEPG();
  36. afx_msg void OnCodeIJEPG();
  37. afx_msg void OnCodeShannon();
  38. afx_msg void OnMorphErosion();
  39. afx_msg void OnMorphDilation();
  40. afx_msg void OnMorphOpen();
  41. afx_msg void OnMorphClose();
  42. afx_msg void OnMorphThining();
  43. afx_msg void OnEdgeFill();
  44. afx_msg void OnEdgeGauss();
  45. afx_msg void OnEdgeHough();
  46. afx_msg void OnEdgeKirsch();
  47. afx_msg void OnEdgePrewitt();
  48. afx_msg void OnEdgeRobert();
  49. afx_msg void OnEdgeSobel();
  50. afx_msg void OnEdgeTrace();
  51. afx_msg void OnDetectHprojection();
  52. afx_msg void OnDetectMinus();
  53. afx_msg void OnDetectTemplate();
  54. afx_msg void OnDetectThreshold();
  55. afx_msg void OnDetectVprojection();
  56. afx_msg void OnRestoreBlur();
  57. afx_msg void OnRestoreInverse();
  58. afx_msg void OnRestoreNoiseblur();
  59. afx_msg void OnRestoreRandomnoise();
  60. afx_msg void OnRestoreSaltnoise();
  61. afx_msg void OnRestoreWiener();
  62. afx_msg void OnEdgeContour();
  63. afx_msg void OnCodeLzw();
  64. afx_msg void OnCodeIlzw();
  65. afx_msg void OnEdgeFill2();
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG  // debug version in ch1_1View.cpp inline CCh1_1Doc* CCh1_1View::GetDocument()    { return (CCh1_1Doc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CH1_1VIEW_H__60AAD957_ED0B_48FF_834E_78C547411B15__INCLUDED_)