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 
00003 
00005 
00006 
00011 
00016 
00021 //                            SceneSaver.h                                    //
00023 
00024 #ifndef SCENESAVER_H
00025 #define SCENESAVER_H
00026 
00027 #include "X3DSceneSaver.h"
00028 #include "SceneSaverGlobalVariables.h"
00029 #include "DFS.h"
00030 
00031 namespace X3DTK {
00032 namespace X3D {
00033 
00034 class Scene;
00035 
00037 
00038 class SceneSaver : public X3DSceneSaver
00039 {
00040 public:
00042   SceneSaver(DFS *dfs = 0);
00044   virtual ~SceneSaver();
00045   
00046   void setComponentVisitor(X3DComponentVisitor *component);
00047   
00049   virtual void saveAs(Scene *S, const SFString &fileName) const;
00051   virtual void save(Scene *S) const;
00052 
00053   void *getDFS() {return (void *)dfs;};
00054 
00055 protected:
00056   SceneSaverGlobalVariables *globalVariables;
00057   bool defaultDFSUSE;
00058   DFS *dfs;
00059 };
00060 
00061 }
00062 }
00063 
00064 #endif

Generated on Wed Sep 10 11:25:14 2003 for X3DToolKit by doxygen1.3