|
@@ -4,7 +4,6 @@ Open Asset Import Library (assimp)
|
|
|
|
|
|
Copyright (c) 2006-2020, assimp team
|
|
|
|
|
|
-
|
|
|
All rights reserved.
|
|
|
|
|
|
Redistribution and use of this software in source and binary forms,
|
|
@@ -51,45 +50,44 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
#include "FBXImportSettings.h"
|
|
|
|
|
|
-namespace Assimp {
|
|
|
+namespace Assimp {
|
|
|
|
|
|
// TinyFormatter.h
|
|
|
namespace Formatter {
|
|
|
- template <typename T,typename TR, typename A> class basic_formatter;
|
|
|
- typedef class basic_formatter< char, std::char_traits<char>, std::allocator<char> > format;
|
|
|
-}
|
|
|
|
|
|
-// -------------------------------------------------------------------------------------------
|
|
|
-/** Load the Autodesk FBX file format.
|
|
|
+template <typename T, typename TR, typename A>
|
|
|
+class basic_formatter;
|
|
|
|
|
|
- See http://en.wikipedia.org/wiki/FBX
|
|
|
-*/
|
|
|
+typedef class basic_formatter<char, std::char_traits<char>, std::allocator<char>> format;
|
|
|
+
|
|
|
+} // namespace Formatter
|
|
|
+
|
|
|
+// -------------------------------------------------------------------------------------------
|
|
|
+/// Loads the Autodesk FBX file format.
|
|
|
+///
|
|
|
+/// See http://en.wikipedia.org/wiki/FBX
|
|
|
// -------------------------------------------------------------------------------------------
|
|
|
-class FBXImporter : public BaseImporter, public LogFunctions<FBXImporter>
|
|
|
-{
|
|
|
+class FBXImporter : public BaseImporter, public LogFunctions<FBXImporter> {
|
|
|
public:
|
|
|
FBXImporter();
|
|
|
virtual ~FBXImporter();
|
|
|
|
|
|
// --------------------
|
|
|
- bool CanRead( const std::string& pFile,
|
|
|
- IOSystem* pIOHandler,
|
|
|
- bool checkSig
|
|
|
- ) const;
|
|
|
+ bool CanRead(const std::string &pFile,
|
|
|
+ IOSystem *pIOHandler,
|
|
|
+ bool checkSig) const;
|
|
|
|
|
|
protected:
|
|
|
-
|
|
|
// --------------------
|
|
|
- const aiImporterDesc* GetInfo () const;
|
|
|
+ const aiImporterDesc *GetInfo() const;
|
|
|
|
|
|
// --------------------
|
|
|
- void SetupProperties(const Importer* pImp);
|
|
|
+ void SetupProperties(const Importer *pImp);
|
|
|
|
|
|
// --------------------
|
|
|
- void InternReadFile( const std::string& pFile,
|
|
|
- aiScene* pScene,
|
|
|
- IOSystem* pIOHandler
|
|
|
- );
|
|
|
+ void InternReadFile(const std::string &pFile,
|
|
|
+ aiScene *pScene,
|
|
|
+ IOSystem *pIOHandler);
|
|
|
|
|
|
private:
|
|
|
FBX::ImportSettings settings;
|
|
@@ -97,4 +95,3 @@ private:
|
|
|
|
|
|
} // end of namespace Assimp
|
|
|
#endif // !INCLUDED_AI_FBX_IMPORTER_H
|
|
|
-
|