Files Classes Functions Hierarchy
00001 #ifndef TREEINDEXEDD2TEST_H 00002 #define TREEINDEXEDD2TEST_H 00003 00004 #include <bsptreeD2.h> 00005 #include <gobj.h> 00006 #include <graphmisc.h> 00007 00008 #include <boxOBBhalfspaceD2.h> 00009 #include <menusystem.h> 00010 #include <point.h> 00011 #include <treeindexedD2.h> 00012 #include <typedefs.h> 00013 00023 class treeindexedD2test 00024 { 00025 public: 00026 typedef point2<double> pt2; 00027 00028 private: 00030 gobjContainer xGraphics; 00031 00032 static point2<double> targetprev; 00033 static point2<double> target; 00034 00035 static gobjContainer * targetg; 00036 static gobjMySphereDraw * targetsphere; 00037 00038 static bsptreeD2<pt2,double,uint> bsp; 00039 00041 static bool * help; 00042 00043 static double keyboarddelta; 00044 00046 static void update03(); 00048 static void keyboard03(unsigned char key, int x, int y); 00050 static void special03(int key, int x, int y); 00052 static void display01(); 00054 static void update05(); 00056 static void keyboard05(unsigned char key, int x, int y); 00058 static void special05(int key, int x, int y); 00059 00060 00061 static vector< boxOBBhalfspaceD2< pt2, double > > viboxes; 00062 00063 static vector< vector<uint> > viboxesintersections; 00064 00065 static menusystem* messages; 00066 00068 void viboxesbuild(); 00069 00070 //void menu05(); 00071 public: 00072 00074 static void test01(); 00076 static void test02(); 00078 void test03(int argc, char** argv); 00080 static void test04(); 00082 int test05(int argc, char** argv); 00083 00084 00086 static int unittest01(int argc, char** argv); 00089 static int unittest02(); 00091 static int unittest04(); 00092 00093 }; 00094 00095 00096 #endif 00097
1.5.8