00001 00002 // GLUpdater.h // 00004 00005 #ifndef GLUPDATER_H 00006 #define GLUPDATER_H 00007 00008 #include "X3DGLUpdater.h" 00009 #include "GLUpdaterGlobalVariables.h" 00010 #include "X3DGLNode.h" 00011 00012 namespace X3DTK { 00013 namespace GL { 00014 00015 class DFS; 00016 00018 00019 class Updater : public X3DUpdater 00020 { 00021 public: 00023 Updater(); 00025 virtual ~Updater(); 00026 00028 void setComponentVisitor(X3DComponentVisitor *component); 00029 00031 virtual void update(X3DNode *N); 00032 00033 protected: 00034 UpdaterGlobalVariables *globalVariables; 00035 DFS *dfs; 00036 }; 00037 00038 } 00039 } 00040 00041 #endif