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

RootWalker.cpp

Go to the documentation of this file.
00001 #include "RootWalker.h"
00002 #include "NodeVisitingProxy.h"
00003 
00004 using namespace X3DTK;
00005 
00006 RootWalker::RootWalker()
00007 : X3DComponentWalker()
00008 {
00009   defineComponentName("Root");
00010   defineNewWalkingFunction<RootWalker, X3DAbstractNode>(&RootWalker::walkX3DAbstractNode);
00011 }
00012 
00013 RootWalker::~RootWalker()
00014 {
00015 }
00016   
00017 void RootWalker::walkX3DAbstractNode(X3DAbstractNode *N) const
00018 {
00019   nodeVisitingProxy->enter(N);
00020   nodeVisitingProxy->leave(N);  
00021 }

Generated on Wed May 14 10:03:11 2003 for X3DToolKit by doxygen1.3