Files Classes Functions Hierarchy
00001 #ifndef SNAKESORTTEST_H 00002 #define SNAKESORTTEST_H 00003 00004 #include <vector> 00005 using namespace std; 00006 00007 #include <gobj.h> 00008 #include <point.h> 00009 00016 class snakesorttest 00017 { 00018 typedef point2<double> pt2; 00019 typedef point3<double> pt3; 00020 00022 gobjContainer xGraphics; 00023 00025 void drawlinethroughpoints(vector<pt2> const & v); 00027 void drawlinethroughpoints(vector<pt3> const & v); 00029 void drawpoints(vector<pt3> const & v); 00031 void fillvec( vector<pt2> & v, uintc n ); 00033 void fillvec( vector<pt3> & v, uintc n ); 00034 public: 00035 00037 static void keyboard01(unsigned char key, int x, int y); 00039 static void display01(); 00040 00042 static void test01(int argc, char** argv); 00044 void test02(int argc, char** argv); 00046 void test03(int argc, char** argv); 00047 00048 00049 }; 00050 00051 00052 #endif 00053
1.5.8