00001 #ifndef RAW_OBJECT_
00002 #define RAW_OBJECT_
00003
00004 #include <stdio.h>
00005 #include <windows.h>
00006 #include <GL/gl.h>
00007 #include <GL/glu.h>
00008 #include <GL/glut.h>
00009
00010 #include "Geometry.h"
00011
00012
00020 class RawObject
00021 {
00022 public:
00026 RawObject ();
00027
00031 ~RawObject ();
00032
00036 virtual void Draw () = NULL;
00037
00043 virtual double GetBoundingRadius () = NULL;
00044
00050 virtual BoundingBox GetBoundingBox () = NULL;
00051
00061 void SetColor (float red, float green, float blue, float alpha);
00062
00072 void SetEmission (float red, float green, float blue, float alpha);
00073
00074 protected:
00076 float color[4];
00077
00079 float emission[4];
00080 };
00081
00082 #endif