www.pudn.com > Depthimage.rar > DepthimageView.h
// DepthimageView.h : interface of the CDepthimageView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEPTHIMAGEVIEW_H__474032C2_2AD7_45A4_812F_CB7B332C75E5__INCLUDED_)
#define AFX_DEPTHIMAGEVIEW_H__474032C2_2AD7_45A4_812F_CB7B332C75E5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDepthimageView : public CView
{
protected: // create from serialization only
CDepthimageView();
DECLARE_DYNCREATE(CDepthimageView)
// Attributes
public:
CDepthimageDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDepthimageView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDepthimageView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
public:
int m_a,m_b,m_r,m_f,m_c,m_width;
float xmax,xmin,ymax,ymin;
double dtx,dty;
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDepthimageView)
// NOTE - the ClassWizard will add and remove member functions here.
afx_msg void OnDepth();
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DepthimageView.cpp
inline CDepthimageDoc* CDepthimageView::GetDocument()
{ return (CDepthimageDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEPTHIMAGEVIEW_H__474032C2_2AD7_45A4_812F_CB7B332C75E5__INCLUDED_)