Main Page   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 
00002 //                            GL_Switch.h                                     //
00004 
00005 #ifndef GLSWITCH_H
00006 #define GLSWITCH_H
00007 
00008 #include "GL_X3DGroupingNode.h"
00009 
00010 namespace X3DTK {
00011 namespace GL {
00012 
00015 
00016 class Switch : public X3DGroupingNode
00017 {
00018 public:
00020   Switch();
00022   virtual SFNode clone() const;
00024   virtual ~Switch();
00025 
00027   void setWhichChoice(const SFInt32 &whichChoice);
00028 
00030   inline const SFInt32 &getWhichChoice() const {return _whichChoice;};
00031 
00033   virtual void update();
00034 
00035 protected:
00037   Switch(const Switch &G);
00038   
00039 private:
00040   SFInt32 _whichChoice;  
00041 };
00042 
00043 }
00044 }
00045 
00046 #endif

Generated on Mon Jan 19 10:32:04 2004 for X3DToolKit by doxygen1.2.18