ddView.h
上传用户:wjfckcom
上传日期:2014-06-28
资源大小:1989k
文件大小:2k
源码类别:

OpenCV

开发平台:

Visual C++

  1. // ddView.h : interface of the CDdView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DDVIEW_H__F568CDD6_5722_471D_9670_3E9CAFD63F82__INCLUDED_)
  5. #define AFX_DDVIEW_H__F568CDD6_5722_471D_9670_3E9CAFD63F82__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "haus.h"
  10. class CDdView : public CView
  11. {
  12. protected: // create from serialization only
  13. CDdView();
  14. DECLARE_DYNCREATE(CDdView)
  15. // Attributes
  16. public:
  17. CDdDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CDdView)
  23. public:
  24. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. protected:
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. IplImage* pContourImg2;
  34. IplImage* pContourImg1;
  35. int n2;
  36. int n1;
  37. struct rateseq* t1;
  38. struct rateseq* t2;
  39. struct rateseq* t3;
  40. struct rateseq* t4;
  41. struct contourrate* seq2;
  42. struct contourrate* seq1;
  43. IplImage* Image;
  44. virtual ~CDdView();
  45. #ifdef _DEBUG
  46. virtual void AssertValid() const;
  47. virtual void Dump(CDumpContext& dc) const;
  48. #endif
  49. protected:
  50. // Generated message map functions
  51. protected:
  52. //{{AFX_MSG(CDdView)
  53. afx_msg void OnHistogram();
  54. afx_msg void OnImg();
  55. afx_msg void OnMatchcontour();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. #ifndef _DEBUG  // debug version in ddView.cpp
  60. inline CDdDoc* CDdView::GetDocument()
  61.    { return (CDdDoc*)m_pDocument; }
  62. #endif
  63. /////////////////////////////////////////////////////////////////////////////
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  66. #endif // !defined(AFX_DDVIEW_H__F568CDD6_5722_471D_9670_3E9CAFD63F82__INCLUDED_)