00001 00002 00003 00005 00006 00011 00016 00021 // GLBuilderShapeVisitor.h // 00023 00024 #ifndef GLBUILDERSHAPEVISITOR_H 00025 #define GLBUILDERSHAPEVISITOR_H 00026 00027 #include "ShapeVisitor.h" 00028 #include "GLBuilderGlobalVariables.h" 00029 00030 namespace X3DTK { 00031 namespace X3D { 00032 00033 class Appearance; 00034 class FillProperties; 00035 class LineProperties; 00036 class Material; 00037 class Shape; 00038 00040 00041 class GLBuilderShapeVisitor : public ShapeVisitor 00042 { 00043 public: 00045 GLBuilderShapeVisitor(); 00047 virtual ~GLBuilderShapeVisitor(); 00048 00050 virtual void enterAppearance(Appearance *A) const; 00052 virtual void enterFillProperties(FillProperties *F) const; 00054 virtual void enterLineProperties(LineProperties *L) const; 00056 virtual void enterMaterial(Material *M) const; 00058 virtual void enterShape(Shape *S) const; 00059 00060 protected: 00061 GLBuilderGlobalVariables *globalVariables; 00062 }; 00063 00064 } 00065 } 00066 00067 #endif