-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathobjMayaConverter.h
executable file
·51 lines (35 loc) · 1.1 KB
/
objMayaConverter.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
51
// Copyright(c) 2005-2006. All Rights Reserved
// By Jean-René Bédard (https://github.com/jrbedard/3d-converter)
#ifndef __OBJMAYACONVERTER_H__
#define __OBJMAYACONVERTER_H__
#include "fromObjConverter.h"
namespace ZBPlugin
{
class CFile;
class CObjFile;
class CMayaFile;
class CObjMayaOptions;
// CObjMayaConverter: OBJ to Maya converter
class CObjMayaConverter : public CFromObjConverter
{
public:
CObjMayaConverter();
~CObjMayaConverter();
private:
CObjMayaConverter(const CObjMayaConverter&); // Copy constructor
void operator=(const CObjMayaConverter&); // Assignment operator
public:
bool ParseOptions(const std::string& optionString);
bool Convert(CFile* pObjFile, CFile* pOtherFile);
private: // Utils
void MayaStringCheck(std::string& name);
std::vector<uint> ConvertObjToEdgeVector(const CObjFile::CFace& face, Vector3DVector& meshEdges, uint vertexIndexOffset);
private:
CMayaFile* m_pMayaFile;
CObjMayaOptions* m_pOptions;
};
class CObjMayaOptions : public CFromObjOptions
{
};
} // End ZBPlugin namespace
#endif // __OBJMAYACONVERTER_H__