00001 #ifndef X3DTK_X3DONEPASSPROCESSOR_H 00002 #define X3DTK_X3DONEPASSPROCESSOR_H 00003 00004 #include "X3DProcessor.h" 00005 #include "GraphTraversal.h" 00006 00007 namespace X3DTK { 00008 00014 class X3DOnePassProcessor : public X3DProcessor 00015 { 00016 public: 00018 X3DOnePassProcessor(); 00020 virtual ~X3DOnePassProcessor() = 0; 00021 00023 virtual void setComponentWalker(X3DComponentWalker *component); 00025 virtual void setComponentVisitor(X3DComponentVisitor *component); 00026 00028 inline GraphTraversal *getGraphTraversal() const {return graphTraversal;}; 00029 00030 protected: 00031 GraphTraversal *graphTraversal; 00032 }; 00033 00034 } 00035 00036 #endif