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

MESH_Switch.h

Go to the documentation of this file.
00001 
00002 //                            MeshSwitch.h                                    //
00004 
00005 #ifndef MESHSWITCH_H
00006 #define MESHSWITCH_H
00007 
00008 #include "MESH_X3DGroupingNode.h"
00009 
00010 namespace X3DTK {
00011 namespace MESH {
00012 
00014 
00015 class Switch : public X3DGroupingNode
00016 {
00017 public:
00019   Switch();
00021   Switch(const SFInt32 &whichChoice);
00023   virtual SFNode clone() const;
00025   virtual ~Switch();
00026   
00028   void setWhichChoice(const SFInt32 &whichChoice);
00029 
00031   inline const SFInt32 &getWhichChoice() const {return _whichChoice;};
00032   
00033 protected:
00035   Switch(const Switch &T);
00036   
00037 private:
00038   SFInt32 _whichChoice;
00039 };
00040 
00041 }
00042 }
00043 
00044 #endif

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