src/rcrt/textures/Texture2D.h

Go to the documentation of this file.
00001 #ifndef TEXTURE2D_H_
00002 #define TEXTURE2D_H_
00003 
00004 #include "Texture.hpp"
00005 #include "../math/rcrtmath.h"
00006 
00007 namespace rcrt
00008 {
00009 
00010 class Texture2D : public Texture<Point2D>
00011 {
00012 public:
00013         Texture2D();
00014         virtual ~Texture2D();
00015         
00016         virtual RGBAColor getColor(const Point2D& p) const =0;
00017         virtual Vec3D getBump(const Point2D& p, const float& scale,const Matrix4D& onb) const =0;
00018         
00019 };
00020 
00021 }
00022 
00023 #endif /*TEXTURE2D_H_*/

Generated on Thu Jan 31 19:26:20 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3