GL_Switch.h

Go to the documentation of this file.
00001 #ifndef X3DTK_GL_SWITCH_H
00002 #define X3DTK_GL_SWITCH_H
00003 
00004 #include "GL_X3DGroupingNode.h"
00005 
00006 namespace X3DTK {
00007 namespace GL {
00008 
00015 class Switch : public X3DGroupingNode
00016 {
00017 public:
00019   Switch();
00021   virtual ~Switch();
00022   
00024   void setWhichChoice(const SFInt32 &whichChoice);
00025 
00027   inline const SFInt32 &getWhichChoice() const {return _whichChoice;};
00028 
00030   virtual void update();
00031   
00032 private:
00033   SFInt32 _whichChoice;  
00034 };
00035 
00036 }
00037 }
00038 
00039 #endif

Generated on Fri Aug 27 13:16:22 2004 for X3DToolKit by doxygen 1.3.6