AnimaL |
Tutorial |
Documentation |
00001 00002 // x3dGLMapStateVariables.h // 00004 00005 #ifndef X3D_GL_MAP_VARIABLES_H 00006 #define X3D_GL_MAP_VARIABLES_H 00007 00008 #include <X3DTK/private/GL_X3DNode.h> 00009 #include <X3DTK/private/X3D_X3DNode.h> 00010 00011 namespace X3DTK 00012 { 00013 00015 typedef std::map<X3D::X3DNode *, std::list<GL::X3DNode *> > X3DGLMap; 00016 00017 00018 namespace GL 00019 { 00020 00022 00023 class X3DGLMapStateVariables: public StateVariables 00024 { 00025 public: 00027 X3DGLMapStateVariables() 00028 {} 00030 virtual ~X3DGLMapStateVariables() 00031 {} 00032 00034 X3DGLMap * getX3dGLMap() 00035 { 00036 return & x3dGLMap; 00037 } 00038 00039 00040 private: 00042 X3DGLMap x3dGLMap; 00043 00044 };//X3DGLMapStateVariables 00045 00046 }//GL 00047 }//X3DTK 00048 00049 #endif