// ViewTransformationView.h : interface of the CViewTransformationView class
//
/////////////////////////////////////////////////////////////////////////////
#include "RC.h"
#include "ViewTransformationDoc.h"
#if !defined(AFX_VIEWTRANSFORMATIONVIEW_H__9623526C_7806_11D3_8A04_005004CEACBF__INCLUDED_)
#define AFX_VIEWTRANSFORMATIONVIEW_H__9623526C_7806_11D3_8A04_005004CEACBF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define INVALIDVIEW 5
#define SOURCEVIEW 6
#define DESTVIEW 7
#define MODELVIEW 8
class CViewTransformationView : public CView
{

public:
	CRC m_GLView;
	int m_CurrentView;
	GLubyte *m_ShowImage;
	GLsizei m_iWidthShowImage;         
    GLsizei m_iHeightShowImage;        

protected: // create from serialization only
	CViewTransformationView();
	DECLARE_DYNCREATE(CViewTransformationView)

// Attributes
public:
	CViewTransformationDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CViewTransformationView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	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 ~CViewTransformationView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CViewTransformationView)
	afx_msg void OnDestroy();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLoadSourceImage();
	afx_msg void OnSaveSource();
	afx_msg void OnFreeCameraMove();
	afx_msg void OnCameraFocus();
	afx_msg void OnSaveDest();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ViewTransformationView.cpp
inline CViewTransformationDoc* CViewTransformationView::GetDocument()
   { return (CViewTransformationDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VIEWTRANSFORMATIONVIEW_H__9623526C_7806_11D3_8A04_005004CEACBF__INCLUDED_)
