// MfcSampleView.h : interface of the CMfcSampleView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MFCSAMPLEVIEW_H__435CAE70_CADD_4F8F_8687_E9B74F58235E__INCLUDED_)
#define AFX_MFCSAMPLEVIEW_H__435CAE70_CADD_4F8F_8687_E9B74F58235E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// begin Wild Magic specific
#include "WildMagic3.h"
using namespace Wm3;
// end Wild Magic specific

class CMfcSampleView : public CView
{
protected: // create from serialization only
	CMfcSampleView();
	DECLARE_DYNCREATE(CMfcSampleView)

// Attributes
public:
	CMfcSampleDoc* GetDocument();

    // begin Wild Magic specific
    Renderer* m_pkRenderer;
    CameraPtr m_spkCamera;
    NodePtr m_spkScene;
    // end Wild Magic specific

// Operations
public:

    // begin Wild Magic specific
    void OnIdle ();
    // end Wild Magic specific

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMfcSampleView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

    // begin Wild Magic specific
    virtual void OnInitialUpdate();
    // end Wild Magic specific

    protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMfcSampleView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMfcSampleView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MfcSampleView.cpp
inline CMfcSampleDoc* CMfcSampleView::GetDocument()
   { return (CMfcSampleDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MFCSAMPLEVIEW_H__435CAE70_CADD_4F8F_8687_E9B74F58235E__INCLUDED_)
