00001 #ifndef X3DTK_X3D_SWITCH_H 00002 #define X3DTK_X3D_SWITCH_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DGroupingNode.h" 00006 #include "X3D_X3DBoundedObject.h" 00007 00008 namespace X3DTK { 00009 namespace X3D { 00010 00019 class Switch : public X3DGroupingNode, public X3DBoundedObject 00020 { 00021 public: 00023 Switch(); 00025 virtual ~Switch(); 00026 00028 void setWhichChoice(const SFInt32 &whichChoice); 00029 00031 inline const SFInt32 &getWhichChoice() const {return _whichChoice;}; 00032 00033 private: 00035 SFInt32 _whichChoice; 00036 }; 00037 00038 } 00039 } 00040 00041 #endif