-
Notifications
You must be signed in to change notification settings - Fork 3
/
RayTracingEngineView.h
48 lines (39 loc) · 1.07 KB
/
RayTracingEngineView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// RayTracingEngineView.h : interface of the CRayTracingEngineView class
//
#pragma once
#include "Application.h"
class CRayTracingEngineView : public CView
{
protected: // create from serialization only
CRayTracingEngineView();
DECLARE_DYNCREATE(CRayTracingEngineView)
// Attributes
public:
CRayTracingEngineDoc* GetDocument() const;
Application* m_pApplication;
// Operations
public:
void DrawFrameBuffer(CDC *pDC);
// Overrides
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
// Implementation
public:
virtual ~CRayTracingEngineView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
afx_msg void OnRender();
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in RayTracingEngineView.cpp
inline CRayTracingEngineDoc* CRayTracingEngineView::GetDocument() const
{
return reinterpret_cast<CRayTracingEngineDoc*>(m_pDocument);
}
#endif