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

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 SFNode clone() const;
00023   virtual ~Switch();
00024 
00026   void setWhichChoice(const SFInt32 &whichChoice);
00027 
00029   inline const SFInt32 &getWhichChoice() const {return _whichChoice;};
00030 
00032   virtual void update();
00033 
00034 protected:
00036   Switch(const Switch &G);
00037   
00038 private:
00039   SFInt32 _whichChoice;  
00040 };
00041 
00042 }
00043 }
00044 
00045 #endif

Generated on Wed Apr 7 12:15:19 2004 for X3DToolKit by doxygen 1.3.3