00001 00002 // X3DOnePassProcessor.h // 00004 00005 #ifndef X3DONEPASSPROCESSOR_H 00006 #define X3DONEPASSPROCESSOR_H 00007 00008 #include "X3DProcessor.h" 00009 #include "GraphTraversal.h" 00010 00011 namespace X3DTK { 00012 00014 00015 class X3DOnePassProcessor : public X3DProcessor 00016 { 00017 public: 00019 X3DOnePassProcessor(); 00021 virtual ~X3DOnePassProcessor() = 0; 00022 00024 virtual void setComponentWalker(X3DComponentWalker *component); 00026 virtual void setComponentVisitor(X3DComponentVisitor *component); 00027 00029 inline GraphTraversal *getGraphTraversal() const {return graphTraversal;}; 00030 00031 protected: 00032 GraphTraversal *graphTraversal; 00033 }; 00034 00035 } 00036 00037 #endif