00001 00002 // SceneToFile.h // 00004 00005 #ifndef SCENETOFILE_H 00006 #define SCENETOFILE_H 00007 00008 #include "X3DSceneToFile.h" 00009 #include "SceneToFileGlobalVariables.h" 00010 #include "DFS.h" 00011 00012 class Scene; 00013 00014 namespace X3DTK { 00015 00017 00018 class SceneToFile : public X3DSceneToFile 00019 { 00020 public: 00022 SceneToFile(DFS *dfs = 0); 00024 virtual ~SceneToFile(); 00025 00026 void setComponentVisitor(X3DComponentVisitor *component); 00027 00029 virtual void toFile(Scene *S, const SFString &file) const; 00030 00031 protected: 00032 SceneToFileGlobalVariables *globalVariables; 00033 bool defaultDFSUSE; 00034 DFS *dfs; 00035 }; 00036 00037 } 00038 00039 #endif