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

X3D_X3DSensorNode.h

Go to the documentation of this file.
00001 
00002 //                            X3D_X3DSensorNode.h                             //
00004 
00005 #ifndef X3DSENSORNODE_H
00006 #define X3DSENSORNODE_H
00007 
00008 #include "X3D_X3DChildNode.h"
00009 #include "X3DFileElement.h"
00010 
00011 namespace X3DTK {
00012 namespace X3D {
00013 
00016 
00017 class X3DSensorNode : public virtual X3DChildNode
00018 {
00019 public:
00021   X3DSensorNode();
00023   X3DSensorNode(const SFBool &enabled);
00025   virtual ~X3DSensorNode();
00026 
00028   void setEnabled(const SFBool &enabled);
00029    
00031   const SFBool &getEnabled() const {return _enabled;};
00032   
00034   virtual void load(const X3DFileElement *element);
00036   virtual SFString &write(SFString &output) const;
00037   
00038 protected:
00040   X3DSensorNode(const X3DSensorNode &N);
00041   
00042 private:
00043   SFBool _enabled;
00044 };
00045 
00046 }
00047 }
00048 
00049 #endif

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