source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ObjConverter.h @ 2961

Revision 2961, 590 bytes checked in by mattausch, 16 years ago (diff)
Line 
1#ifndef _OBJCONVERTER_H
2#define _OBJCONVERTER_H
3
4#include "common.h"
5
6namespace CHCDemoEngine
7{
8        class SceneEntity;
9}
10
11
12/** Converts obj format into objects readable by our format
13*/
14class ObjConverter
15{
16public:
17
18        bool Convert(const std::string &inputFilename,
19                         const std::string &outputFilename) const;
20        // const std::string textureFilename) const;
21
22        CHCDemoEngine::SceneEntity *Load(const std::string &filename) const;
23
24protected:
25
26        bool ReadFile(const std::string inputFilename);
27        bool WriteFile(const std::string outputFilename);
28};
29
30
31
32#endif
Note: See TracBrowser for help on using the repository browser.