X3D_SimpleNodeCounterStateVariables.h

Go to the documentation of this file.
00001 #ifndef X3D_NODECOUNTERSTATEVARIABLES_H
00002 #define X3D_NODECOUNTERSTATEVARIABLES_H
00003 
00004 #include <X3DTK/kernel.h>
00005 
00006 namespace X3DTK {
00007 namespace X3D {
00008 
00009 class SimpleNodeCounterStateVariables : public StateVariables
00010 {
00011 public:
00012   SimpleNodeCounterStateVariables();
00013   
00014   void init();
00015   
00016   void addNode();
00017   
00018   inline unsigned int getNodeNumber() const {return _count;};
00019   
00020 private:
00021   unsigned int _count;  
00022 };
00023 
00024 }
00025 }
00026 
00027 #endif

Generated on Mon Jul 12 09:40:01 2004 for X3DToolKit by doxygen 1.3.6