wxraytracer - #ifndef _WXRAYTRACER_H_ # #define...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
#define _WXRAYTRACER_H_ # /** * Ray Tracer skeleton * * Author : Sverre Kvaale <sverre@kvaale.com> * Version: 0.8 * */ #include <wx/wx.h> #include "World.h" #include <vector> # using namespace std; u class wxraytracerFrame; class RenderCanvas; class RenderThread; class RenderPixel; c class wxraytracerapp : public wxApp { public: virtual bool OnInit(); virtual int OnExit(); virtual void SetStatusText(const wxString& text, int number = 0); private: wxraytracerFrame *frame; DECLARE_EVENT_TABLE() }; } class wxraytracerFrame : public wxFrame { public: wxraytracerFrame(const wxPoint& pos, const wxSize& size); //event handlers void OnQuit( wxCommandEvent& event ); void OnOpenFile( wxCommandEvent& event ); void OnSaveFile( wxCommandEvent& event ); void OnRenderStart( wxCommandEvent& event ); void OnRenderCompleted( wxCommandEvent& event ); void OnRenderPause( wxCommandEvent& event ); void OnRenderResume( wxCommandEvent& event ); private: RenderCanvas *canvas; //where the rendering takes place
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/19/2010 for the course CS 390 taught by Professor Hu during the Spring '10 term at Westminster UT.

Page1 / 3

wxraytracer - #ifndef _WXRAYTRACER_H_ # #define...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online