Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

MESH_StatsCalculatorCoreVisitor.h

Go to the documentation of this file.
00001 #ifndef X3DTK_MESH_STATSCALCULATORCOREVISITOR_H
00002 #define X3DTK_MESH_STATSCALCULATORCOREVISITOR_H
00003 
00004 #include "MESH_StatsCalculatorStateVariables.h"
00005 #include "MESH_CoreVisitor.h"
00006 #include "MESH_Mesh.h"
00007 #include "MESH_Shape.h"
00008 #include "MESH_Transform.h"
00009 
00010 #include <algorithm>
00011 #include <GL/gl.h>
00012 
00013 namespace X3DTK {
00014 namespace MESH {
00015 
00022 template<class MData, class VData, class EData, class FData, bool readOnly>
00023 class StatsCalculatorCoreVisitor : public CoreVisitor
00024 {
00025 public:
00027   StatsCalculatorCoreVisitor();
00028 
00030   static void enterMesh(Mesh<MData, VData, EData, FData, readOnly> *M);
00032   static void enterVertex(Vertex<VData, EData, FData, readOnly> *V);
00034   static bool walkOnShape(Shape *S, SFAbstractNode child);
00035 };
00036 
00037 }
00038 }
00039 
00040 #include "MESH_StatsCalculatorCoreVisitor.inl"
00041 
00042 #endif

Generated on Wed Apr 7 12:15:20 2004 for X3DToolKit by doxygen 1.3.3