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

SceneSaver.h

Go to the documentation of this file.
00001 
00002 //                            SceneSaver.h                                    //
00004 
00005 #ifndef SCENESAVER_H
00006 #define SCENESAVER_H
00007 
00008 #include "X3DSceneSaver.h"
00009 #include "SceneSaverGlobalVariables.h"
00010 #include "DFS.h"
00011 
00012 namespace X3DTK {
00013 namespace X3D {
00014 
00015 class Scene;
00016 
00018 
00019 class SceneSaver : public X3DSceneSaver
00020 {
00021 public:
00023   SceneSaver(DFS *dfs = 0);
00025   virtual ~SceneSaver();
00026   
00027   void setComponentVisitor(X3DComponentVisitor *component);
00028   
00030   virtual void saveAs(Scene *S, const SFString &fileName) const;
00032   virtual void save(Scene *S) const;
00033 
00034   void *getDFS() {return (void *)dfs;};
00035 
00036 protected:
00037   SceneSaverGlobalVariables *globalVariables;
00038   bool defaultDFSUSE;
00039   DFS *dfs;
00040 };
00041 
00042 }
00043 }
00044 
00045 #endif

Generated on Tue Jul 15 16:46:52 2003 for X3DToolKit by doxygen1.3