00001 /* 00002 * 00003 * Description : Reads and writes VRML files 00004 * Author : Michael Smutny smutnm2@fel.cvut.cz & Hana Truskova truskh1@fel.cvut.cz 00005 * 00006 * Purpose : 00007 * Imports and exports scenes in VRML files. 00008 */ 00009 00010 #ifndef __IOVRML__H__ 00011 #define __IOVRML__H__ 00012 00013 #include "../../core/src/iomodule.h" 00014 #include "../../core/src/common.h" 00015 00016 00017 namespace VRUT 00018 { 00020 const int MODULE_VERSION = 1; 00021 00023 class IOVrmlModule : public IOModule 00024 { 00025 protected: 00027 bool teselate; 00029 bool hFlag; 00031 bool extraCams; 00033 Parameter::ParameterIdentificator teselateParamID; 00035 Parameter::ParameterIdentificator hierarchyFlagParamID; 00037 Parameter::ParameterIdentificator extraCamsParamID; 00038 00039 virtual void processEvent(wxCommandEvent & evt); 00040 public: 00042 IOVrmlModule(const MODULE_ID & _id, const wxString & _name, EventHandler * msgSink); 00044 virtual ~IOVrmlModule(); 00045 00047 virtual wxString GetDesc() const; 00049 virtual wxString GetSupportedExts() const; 00055 virtual bool ImportScene(const wxString & fname, SCENE_ID _sceneID, const wxString & rootUid); 00057 virtual bool ExportScene(const wxString & fname, const Scene * scene); 00058 }; 00059 }; 00060 00061 00062 EXPORT_VRUT_MODULE_FUNCTIONS( IOVrmlModule ) 00063 00064 00065 #endif
1.5.5