glbarrettbase.h

Go to the documentation of this file.
00001 // ***************************************************************************
00002 //                           glbarrettbase.h
00003 //
00004 //    copyright            : (C) 2004 by tbaier
00005 //    email                : tbaier@informatik.uni-hamburg.de
00006 // ***************************************************************************
00007 #ifndef BARRETTBASE_H
00008 #define BARRETTBASE_H
00009 
00010 #include "glbarrettprimitive.h"
00011 #include <GL/gl.h>
00012 #include <GL/glu.h>
00013 
00014 extern  GLBarrettPrimitive::MaterialColorProperties colPropAluUnpolished;
00015 extern  GLBarrettPrimitive::MaterialColorProperties colPropBrass;
00016 extern  GLBarrettPrimitive::MaterialColorProperties colPropGold;
00017 
00018 
00026 class GLBarrettBase : public GLBarrettPrimitive{
00027 
00028  public:
00029 
00032   GLBarrettBase()
00033     {
00034       generateTriMesh();
00035     };
00036 
00042   void draw();
00043 
00044   void  generateTriMesh();
00045 
00046 
00047   static const int NumVertexPoints = 4944;
00048   static const int NumNormals      = 1938;
00049   static const int NumGridPoints   = 18528;
00050   static const int NumTriangles    = 3088;
00051 
00052 };
00053 
00054 
00055 #endif


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