fbxsdk/fileio/fbx/fbxreaderfbx7.h Source File
 
 
 
fbxsdk/fileio/fbx/fbxreaderfbx7.h
Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2013 Autodesk, Inc.
00004    All rights reserved.
00005  
00006    Use of this software is subject to the terms of the Autodesk license agreement
00007    provided at the time of installation or download, or which otherwise accompanies
00008    this software in either electronic or hard copy form.
00009  
00010 ****************************************************************************************/
00011 
00013 #ifndef _FBXSDK_FILEIO_FBX_READER_FBX7_H_
00014 #define _FBXSDK_FILEIO_FBX_READER_FBX7_H_
00015 
00016 #include <fbxsdk.h>
00017 
00018 #include <fbxsdk/fbxsdk_nsbegin.h>
00019 
00020 struct FbxReaderFbx7_Impl;
00021 
00026 class FbxReaderFbx7 : public FbxReader
00027 {
00028 public:
00032     typedef enum
00033     {
00034         eASCII,     
00035         eBINARY,    
00036         eENCRYPTED  
00037     } EImportMode;
00038 
00045     FbxReaderFbx7(FbxManager& pManager, FbxImporter& pImporter, int pID, FbxStatus& pStatus);
00046 
00050     virtual ~FbxReaderFbx7();
00051 
00057     virtual bool FileOpen(char* pFileName, EFileOpenSpecialFlags pFlags);
00058 
00063     virtual bool FileOpen(char* pFileName);
00064 
00067     virtual bool FileOpen(FbxFile* pFile);
00068 
00071         virtual bool FileOpen(FbxStream * pStream, void* pStreamData);
00072 
00076     virtual bool FileClose();
00077 
00081     virtual bool IsFileOpen();
00082 
00086     EImportMode GetImportMode();
00087 
00093     virtual void GetVersion(int& pMajor, int& pMinor, int& pRevision);
00094 
00100     virtual bool GetAxisInfo(FbxAxisSystem* pAxisSystem, FbxSystemUnit* pSystemUnits);
00101 
00108         virtual bool GetFrameRate(FbxTime::EMode &pTimeMode);
00109 
00114     virtual bool GetStatistics(FbxStatistics* pStats);
00115 
00120     virtual bool GetReadOptions(bool pParseFileAsNeeded = true);
00121 
00126     virtual bool Read(FbxDocument *pDocument);
00127 
00134         virtual void PluginReadParameters(FbxObject& pParams);
00135 
00141     virtual bool GetReadOptions(FbxIO* pFbx, bool pParseFileAsNeeded = true);
00142 
00148     virtual bool Read(FbxDocument *pDocument, FbxIO* pFbx);
00149 
00153     virtual FbxDocumentInfo*  GetSceneInfo();
00154 
00158     virtual FbxArray<FbxTakeInfo*>* GetTakeInfo();
00159 
00163     virtual void SetProgressHandler(FbxProgress *pProgress);
00164 
00165         virtual void SetEmbeddingExtractionFolder(const char* pExtractFolder);
00166 
00167         virtual bool SupportsStreams() const { return true; }
00168 
00169 private:
00170     // Declared, not defined.
00171     FbxReaderFbx7(const FbxReaderFbx7&);
00172     FbxReaderFbx7& operator=(FbxReaderFbx7 const&);
00173 
00174 private:
00175     FbxReaderFbx7_Impl* mImpl;
00176 };
00177 
00178 #include <fbxsdk/fbxsdk_nsend.h>
00179 
00180 #endif /* _FBXSDK_FILEIO_FBX_READER_FBX7_H_ */