00001 #ifndef DEBUGTRACER_H_ 00002 #define DEBUGTRACER_H_ 00003 00004 #include "TracingStrategy.h" 00005 #include "../primitives/Triangle.h" 00006 00007 namespace rcrt 00008 { 00009 00010 class DebugTracer : public TracingStrategy 00011 { 00012 public: 00013 using TracingStrategy::trace; 00014 DebugTracer(Scene* s); 00015 virtual ~DebugTracer(); 00016 00017 virtual RGBColor trace(Ray& r) const; 00018 virtual Image trace(Camera* cam, std::vector<Primitive*>* trlist) const; 00019 //Image trace(PixelSampler& sp, Camera* cam) const; 00020 00021 }; 00022 00023 } 00024 00025 #endif /*DEBUGTRACER_H_*/