00001 #ifndef X3DTK_X3D_GLBUILDERGEOMETRY3DVISITOR_H 00002 #define X3DTK_X3D_GLBUILDERGEOMETRY3DVISITOR_H 00003 00004 #include "X3D_Geometry3DVisitor.h" 00005 #include "X3D_GLBuilderStateVariables.h" 00006 00007 #include <iostream> 00008 00009 namespace X3DTK { 00010 namespace X3D { 00011 00012 class Box; 00013 class Cone; 00014 class Cylinder; 00015 class IndexedFaceSet; 00016 class Sphere; 00017 00024 class GLBuilderGeometry3DVisitor : public Geometry3DVisitor 00025 { 00026 public: 00028 GLBuilderGeometry3DVisitor(); 00029 00031 static void enterBox(Box *B); 00033 static void enterCone(Cone *C); 00035 static void enterCylinder(Cylinder *C); 00037 static void enterIndexedFaceSet(IndexedFaceSet *I); 00039 static void enterSphere(Sphere *S); 00040 }; 00041 00042 } 00043 } 00044 00045 #endif