Tracer - #include "RGBColor.h" # class World; c...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// This is the declaration of the base class Tracer // The tracer classes have no copy constructor, assignment operator. or clone function because // of the world pointer, which should not be assigned or copy constructed // See comments in the World.h file. / #ifndef __TRACER__ #define __TRACER__ # #include "Constants.h" #include "Ray.h"
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: #include "RGBColor.h" # class World; c class Tracer { public: p Tracer(void); T Tracer(World* _world_ptr); T virtual v ~Tracer(void); ~ virtual RGBColor v trace_ray(const Ray& ray) const; t virtual RGBColor v trace_ray(const Ray ray, const int depth) const; t protected: p World* world_ptr; }; } #endif...
View Full 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.

Ask a homework question - tutors are online