- Main Page
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# fbxreaderfbx7.h

Go to the documentation of this file.

    00001 /****************************************************************************************
    00002
    00003    Copyright (C) 2012 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
    00044     FbxReaderFbx7(FbxManager& pManager, FbxImporter& pImporter, int pID);
    00045
    00049     virtual ~FbxReaderFbx7();
    00050
    00056     virtual bool FileOpen(char* pFileName, EFileOpenSpecialFlags pFlags);
    00057
    00062     virtual bool FileOpen(char* pFileName);
    00063
    00066     virtual bool FileOpen(FbxFile* pFile);
    00067
    00070     virtual bool FileOpen(FbxStream * pStream, void* pStreamData);
    00071
    00075     virtual bool FileClose();
    00076
    00080     virtual bool IsFileOpen();
    00081
    00085     EImportMode GetImportMode();
    00086
    00092     virtual void GetVersion(int& pMajor, int& pMinor, int& pRevision);
    00093
    00099     virtual bool GetAxisInfo(FbxAxisSystem* pAxisSystem, FbxSystemUnit* pSystemUnits);
    00100
    00107     virtual bool GetFrameRate(FbxTime::EMode &pTimeMode);
    00108
    00113     virtual bool GetStatistics(FbxStatistics* pStats);
    00114
    00119     virtual bool GetReadOptions(bool pParseFileAsNeeded = true);
    00120
    00125     virtual bool Read(FbxDocument *pDocument);
    00126
    00133     virtual void PluginReadParameters(FbxObject& pParams);
    00134
    00140     virtual bool GetReadOptions(FbxIO* pFbx, bool pParseFileAsNeeded = true);
    00141
    00147     virtual bool Read(FbxDocument *pDocument, FbxIO* pFbx);
    00148
    00152     virtual FbxDocumentInfo*  GetSceneInfo();
    00153
    00157     virtual FbxArray<FbxTakeInfo*>* GetTakeInfo();
    00158
    00162     virtual void SetProgressHandler(FbxProgress *pProgress);
    00163
    00164     virtual void SetEmbeddingExtractionFolder(const char* pExtractFolder);
    00165
    00166     virtual bool SupportsStreams() const { return true; }
    00167
    00168 private:
    00169     // Declared, not defined.
    00170     FbxReaderFbx7(const FbxReaderFbx7&);
    00171     FbxReaderFbx7& operator=(FbxReaderFbx7 const&);
    00172
    00173 private:
    00174     FbxReaderFbx7_Impl* mImpl;
    00175 };
    00176
    00177 #include <fbxsdk/fbxsdk_nsend.h>
    00178
    00179 #endif /* _FBXSDK_FILEIO_FBX_READER_FBX7_H_ */