00001 #ifndef X3DTK_MESH_SWITCH_H 00002 #define X3DTK_MESH_SWITCH_H 00003 00004 #include "MESH_X3DGroupingNode.h" 00005 00006 namespace X3DTK { 00007 namespace MESH { 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 00029 private: 00030 SFInt32 _whichChoice; 00031 }; 00032 00033 } 00034 } 00035 00036 #endif