-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathfbxReader.h
executable file
·50 lines (34 loc) · 987 Bytes
/
fbxReader.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 __FBXREADER_H__
#define __FBXREADER_H__
#include "reader.h"
namespace FBXSDK_NAMESPACE
{
class KFbxSdkManager;
class KFbxScene;
class KFbxImporter;
}
namespace ZBPlugin
{
class CFile;
class CFbxFile;
// CFbxReader: FBX file reader
class CFbxReader : public CReader
{
public:
CFbxReader(CFile* pFile, const fs::path& fileName);
private:
CFbxReader(const CFbxReader&); // Copy constructor
void operator=(const CFbxReader&); // Assignment operator
public:
bool Read();
bool ReadDebug();
private:
bool LoadScene(FBXSDK_NAMESPACE::KFbxSdkManager* pSdkManager, FBXSDK_NAMESPACE::KFbxScene* pScene, const char* pFilename);
void SetFileFormat(const char* pFilename, FBXSDK_NAMESPACE::KFbxImporter* pImporter);
private:
CFbxFile* m_pFbxFile;
};
} // End ZBPlugin namespace
#endif // __FBXREADER_H__