glbarrettl1.h

Go to the documentation of this file.
00001 // ***************************************************************************
00002 //                           glbarrettl1.h
00003 //
00004 //    copyright            : (C) 2004 by tbaier
00005 //    email                : tbaier@informatik.uni-hamburg.de
00006 // ***************************************************************************
00007 #ifndef GLBARRETTL1_H
00008 #define GLBARRETTL1_H
00009 
00010 #include "glbarrettprimitive.h"
00011 #include <GL/gl.h>
00012 #include <GL/glu.h>
00013 
00024 class GLBarrettL1 : protected GLBarrettPrimitive{
00025 
00026   friend class GLBarrettFinger;
00027 
00028  public:
00031   GLBarrettL1()
00032     {
00033       generateTriMesh();
00034     };
00035 
00043   void draw();
00044 
00045 
00046   static const int NumVertexPoints = 312;
00047   static const int NumNormals      = 318;
00048   static const int NumGridPoints   = 1224;
00049   static const int NumTriangles    = 204;
00050 
00051 
00052  protected:
00053   
00054   void generateTriMesh();
00055 };
00056 
00057 
00058 #endif


tams Tim Baier bhandlib v0.25
Generated Wed Aug 16 14:57:09 2006 by doxygen 1.4.7