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 namespace X3DTK { 00013 namespace X3D { 00014 00015 class Scene; 00016 00018 00019 class SceneToFile : public X3DSceneToFile 00020 { 00021 public: 00023 SceneToFile(DFS *dfs = 0); 00025 virtual ~SceneToFile(); 00026 00027 void setComponentVisitor(X3DComponentVisitor *component); 00028 00030 virtual void toFile(Scene *S) const; 00031 00032 void *getDFS() {return (void *)dfs;}; 00033 00034 protected: 00035 SceneToFileGlobalVariables *globalVariables; 00036 bool defaultDFSUSE; 00037 DFS *dfs; 00038 }; 00039 00040 } 00041 } 00042 00043 #endif