39 #pragma warning(disable: 4996) 
   54 #include <OpenGL/gl.h> 
   86         virtual void finalize();
 
   87         virtual void savePLY(
string filename);
 
   88         virtual void setName(
string name);
 
   94         size_t                  getNumberOfVertices();
 
   95         size_t                  getNumberOfFaces();
 
  104         void interpolateNormals();
 
  105         void setDefaultColors();
 
  106         void calcBoundingBox();
 
  111         void compileColoredMeshList();
 
  112         void compileWireframeList();
 
  113         void compileNameList();
 
  115         void setColorMaterial(
float r, 
float g, 
float b);
 
  150                     glMultMatrixf(m_transformation.getData());
 
  153                         glEnable(GL_LIGHTING);
 
  154                         glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
 
  155                         glCallList(m_coloredMeshList);
 
  156                         glCallList(m_nameList);
 
  161                         glDisable(GL_LIGHTING);
 
  162                         glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
 
  163                         glLineWidth(m_lineWidth);
 
  164                         glColor3f(0.0, 0.0, 0.0);
 
  165                         glCallList(m_wireframeList);
 
  166                         glEnable(GL_LIGHTING);