00001 #ifndef X3DTK_X3D_SCENE_H 00002 #define X3DTK_X3D_SCENE_H 00003 00004 #include "ProcessHistory.h" 00005 #include "X3DTypes.h" 00006 #include "X3D_X3DGroupingNode.h" 00007 #include "X3D_X3DBoundedObject.h" 00008 #include "SFRoute.h" 00009 00010 namespace X3DTK { 00011 namespace X3D { 00012 00019 class Scene : public X3DGroupingNode, public X3DBoundedObject 00020 { 00021 friend class ProcessHistory; 00022 friend class SFRoute; 00023 public: 00025 Scene(); 00026 00028 void setFileName(const SFString &file); 00029 00031 inline const SFString &getFileName() const {return _fileName;}; 00033 inline const MFRoute &getRoutes() const {return _routes;}; 00035 inline ProcessHistory &getProcessHistory() {return _history;}; 00036 00037 private: 00039 void setProcessHistory(const ProcessHistory &history); 00041 void setRoutes(const MFRoute &routes); 00042 00044 SFString _fileName; 00045 MFRoute _routes; 00046 ProcessHistory _history; 00047 }; 00048 00049 } 00050 } 00051 00052 #endif