00001 00002 // GLCreatorShapeVisitor.h // 00004 00005 #ifndef GLCREATORSHAPEVISITOR_H 00006 #define GLCREATORSHAPEVISITOR_H 00007 00008 #include "ShapeVisitor.h" 00009 #include "GLCreatorGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 00013 class Appearance; 00014 class FillProperties; 00015 class LineProperties; 00016 class Material; 00017 class Shape; 00018 00020 00021 class GLCreatorShapeVisitor : public ShapeVisitor 00022 { 00023 public: 00025 GLCreatorShapeVisitor(); 00027 virtual ~GLCreatorShapeVisitor(); 00028 00030 virtual void enterAppearance(Appearance *A) const; 00032 virtual void enterFillProperties(FillProperties *F) const; 00034 virtual void enterLineProperties(LineProperties *L) const; 00036 virtual void enterMaterial(Material *M) const; 00038 virtual void enterShape(Shape *S) const; 00039 00040 protected: 00041 GLCreatorGlobalVariables *globalVariables; 00042 }; 00043 00044 } 00045 00046 #endif