--- /dev/null
+#ifndef RAY_TRACING_H
+#define RAY_TRACING_H
+
+#include "cudaTools.h"
+#include "Animable_I.h"
+#include "MathTools.h"
+#include "Sphere.h"
+
+class RayTracing : public Animable_I
+ {
+ public:
+ RayTracing(int w, int h);
+ ~RayTracing();
+
+ void runGPU(uchar4* ptrDevPixels) /*override*/;
+ void animationStep() /*override*/;
+
+ int getW() /*override*/;
+ int getH() /*override*/;
+
+ float getT() /*override*/;
+
+ string getTitle(void) /*override*/;
+
+ private:
+ Sphere* createSpheres(int n);
+
+ float t;
+
+ const int w;
+ const int h;
+
+ const dim3 dg;
+ const dim3 db;
+
+ const string title;
+ };
+
+#endif