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

Scene.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            Scene.h                                         //
00023 
00024 #ifndef SCENE_H
00025 #define SCENE_H
00026 
00027 #include "X3DTypes.h"
00028 #include "X3DGroupingNode.h"
00029 #include "X3DBoundedObject.h"
00030 
00031 namespace X3DTK {
00032 namespace X3D {
00033 
00035 
00036 class Scene : public X3DGroupingNode, public X3DBoundedObject
00037 {
00038 public:
00040   Scene();
00042   virtual SFNode clone() const;
00044   virtual ~Scene();
00045 
00047   void setFileName(const SFString &file);
00048  
00050   inline SFString getFileName() const {return _fileName;};
00051 
00053   virtual void load(const X3DFileElement *element);
00055   virtual SFString write() const;
00056 
00057 protected:
00059   Scene(const Scene &S);
00060 
00061 private:  
00063   SFString _fileName;
00064 };
00065 
00066 }
00067 }
00068 
00069 #endif

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