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(); 00024 00026 void setWhichChoice(const SFInt32 &whichChoice); 00027 00029 inline const SFInt32 &getWhichChoice() const {return _whichChoice;}; 00030 00031 private: 00033 SFInt32 _whichChoice; 00034 }; 00035 00036 } 00037 } 00038 00039 #endif