00001 /* 00002 * $Id: fhswriter.h,v 1.16 2008-06-06 20:02:36 kybav1 Exp $ 00003 * 00004 * Description : One line description of file. 00005 * Author : Antonin Misek <antonin.misek@skoda-auto.cz> 00006 * 00007 * Purpose : 00008 * Long description of what the file is for. 00009 */ 00010 00011 00012 #ifndef __FHSWRITER__H__ 00013 #define __FHSWRITER__H__ 00014 00015 #include "../../scenemanager.h" 00016 #include "../../geometrynode.h" 00017 #include "../../geometrytriangles.h" 00018 #include "../../textwriter.h" 00019 00020 namespace VRUT 00021 { 00023 class FHSWriter 00024 { 00025 private: 00027 wxBufferedOutputStream * outputStream; 00029 const Scene * scene; 00031 TextWriter *textWriter; 00032 00034 void WriteMatrix(const SceneNode *node, std::string tabs); 00036 void WriteAssemblyBody(const SceneNode *node, std::string tabs); 00038 void WriteAssembly(const SceneNode *node, std::string tabs); 00040 void WriteGeometry(const GeometryNode *node, std::string tabs); 00042 void WriteLight(const LightNode *node, std::string tabs); 00043 00044 public: 00048 FHSWriter(wxBufferedOutputStream * _outputStream, const Scene * _scene); 00050 ~FHSWriter(); 00051 00053 void Write(); 00054 }; 00055 }; 00056 00057 00058 #endif 00059
1.5.5