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

WalkOnFunction.h

Go to the documentation of this file.
00001 
00002 //                            WalkOnFunction.h                                //
00004 
00005 #ifndef WALKONFUNCTION_H
00006 #define WALKONFUNCTION_H
00007 
00008 #include "X3DActiveFunction.h"
00009 #include "X3DTypes.h"
00010 
00011 namespace X3DTK {
00012 
00014 
00015 class WalkOnFunction : public X3DActiveFunction
00016 {
00017 public:
00019   WalkOnFunction(const ptrToWalkOnFunction walkon, const X3DComponentVisitor *component);
00021   ~WalkOnFunction();
00022   
00024   inline bool walkOn(SFAbstractNode N, SFAbstractNode child) const {return (component_->*ptr2walkon_)(N, child);};
00025   
00026 private:
00027   const ptrToWalkOnFunction ptr2walkon_;
00028   const X3DComponentVisitor *component_;
00029 };
00030 
00031 }
00032 
00033 #endif

Generated on Tue Jul 15 16:46:52 2003 for X3DToolKit by doxygen1.3