GroupObject.h

00001 #ifndef GROUP_OBJECT_
00002 #define GROUP_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 "Camera.h"
00011 #include "GraphicalObject.h"
00012 
00019 class GroupObject: public GraphicalObject
00020 {
00021 public:
00025         GroupObject ();
00026 
00030         ~GroupObject ();
00031 
00044         void Draw (int time, Camera * camera, Camera * monitor, bool show_bounding_volume, int culling_mode, bool level_of_detail);
00045 
00051         void AddChild (GraphicalObject * child);
00052 
00056         void PrintToConsole ();
00057 
00058 protected:
00064         void ComputeBoundingRadius ();
00065 
00071         void ComputeBoundingBox ();
00072 private:
00073 
00074 };
00075 
00076 #endif

Generated on Sun Jul 2 13:20:39 2006 for Demo by  doxygen 1.4.6-NO