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

GLCreatorGlobalVariables.h

Go to the documentation of this file.
00001 
00002 //                            GLCreatorGlobalVariables.h                      //
00004 
00005 #ifndef GLCREATORGLOBALVARIABLES_H
00006 #define GLCREATORGLOBALVARIABLES_H
00007 
00008 #include "GlobalVariables.h"
00009 #include "X3DGLNode.h"
00010 
00011 namespace X3DTK {
00012 
00014 
00015 class GLCreatorGlobalVariables : public GlobalVariables
00016 {
00017 public:
00019   GLCreatorGlobalVariables();
00021   virtual ~GLCreatorGlobalVariables();
00023   void init();
00025   virtual void finish();
00026   
00028   void pushNode(GLSFNode N);
00030   void popNode();
00031     
00033   inline X3DGLNode *getRoot() const {return _root;};
00035   inline GLSFNode getTop() const {return _nodeStack.front();};
00036   
00037 private:
00038   X3DGLNode *_root;
00039   GLMFNode _nodeStack;  
00040 };
00041 
00042 }
00043 
00044 #endif

Generated on Mon May 26 16:04:18 2003 for X3DToolKit by doxygen1.3