-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathlwoObjConverter.h
executable file
·50 lines (33 loc) · 971 Bytes
/
lwoObjConverter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright(c) 2005-2006. All Rights Reserved
// By Jean-René Bédard (https://github.com/jrbedard/3d-converter)
#ifndef __LWOOBJCONVERTER_H__
#define __LWOOBJCONVERTER_H__
#include "toObjConverter.h"
namespace ZBPlugin
{
class CObjFile;
class CLwoFile;
class CLwoObjOptions;
// LWO to OBJ converter
class CLwoObjConverter : public CToObjConverter
{
public:
CLwoObjConverter();
~CLwoObjConverter();
private:
CLwoObjConverter(const CLwoObjConverter&); // Copy constructor
void operator=(const CLwoObjConverter&); // Assignment operator
public:
bool ParseOptions(const std::string& optionString);
bool Convert(CFile* pOtherFile, CFile* pObjFile);
private: // load LWO
bool CreateObjMaterialLibrary(CLwoFile::CLayer& layer);
private:
CLwoFile* m_pLwoFile;
CLwoObjOptions* m_pOptions;
};
class CLwoObjOptions : public CToObjOptions
{
};
} // End ZBPlugin namespace
#endif // __LWOOBJCONVERTER_H__