www.pudn.com > SurfaceRecon.rar > MITKTestView.h


// MITKTestView.h : interface of the CMITKTestView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MITKTESTVIEW_H__881A877C_9A00_4338_A960_88BD99B74FE2__INCLUDED_) 
#define AFX_MITKTESTVIEW_H__881A877C_9A00_4338_A960_88BD99B74FE2__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class mitkView;            //mitkView类的前向声明 
class mitkSurfaceModel;    //mitkSurfaceModel类的前向声明 
class CMITKTestView : public CView 
{ 
protected: // create from serialization only 
	CMITKTestView(); 
	DECLARE_DYNCREATE(CMITKTestView) 
 
// Attributes 
public: 
	CMITKTestDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMITKTestView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMITKTestView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
	mitkView *m_View;    //添加一个指向mitkView的指针 
	mitkSurfaceModel *m_SurfaceModel;  //添加一个指向mitkSurfaceModel的指针 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMITKTestView) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnDestroy(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in MITKTestView.cpp 
inline CMITKTestDoc* CMITKTestView::GetDocument() 
   { return (CMITKTestDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MITKTESTVIEW_H__881A877C_9A00_4338_A960_88BD99B74FE2__INCLUDED_)