00001 #ifndef MESH_BASICDRAWER_H 00002 #define MESH_BASICDRAWER_H 00003 00004 #include <X3DTK/kernel.h> 00005 #include "MyMeshData.h" 00006 00007 namespace X3DTK { 00008 namespace MESH { 00009 00010 // Processor drawing the mesh from the Mesh scene graph. 00011 00012 class BasicDrawer 00013 { 00014 public: 00015 void drawFaces(MyMesh *M); 00016 00017 private: 00018 SFColor getColor(float level) const; 00019 }; 00020 00021 } 00022 } 00023 00024 #endif 00025