00001 00002 // X3DActiveFunction.h // 00004 00005 #ifndef X3DACTIVEFUNCTION_H 00006 #define X3DACTIVEFUNCTION_H 00007 00008 #include "X3DFunction.h" 00009 00010 namespace X3DTK { 00011 00013 00014 class X3DActiveFunction : public X3DFunction 00015 { 00016 public: 00018 X3DActiveFunction(); 00020 virtual ~X3DActiveFunction() = 0; 00021 00023 inline bool isActive() const {return active_;}; 00025 inline void setActive() {active_ = true;}; 00027 inline void setInactive() {active_ = false;}; 00028 00029 private: 00030 bool active_; 00031 }; 00032 00033 } 00034 00035 #endif