13 #ifndef _FBXSDK_FILEIO_READER_H_
14 #define _FBXSDK_FILEIO_READER_H_
94 eParseForGlobalSettings = 1,
95 eParseForStatistics = 2
105 typedef void* (*GetInfoFuncType)(
EInfoRequest pRequest,
int pReaderTypeId);
112 virtual void GetVersion(
int& pMajor,
int& pMinor,
int& pRevision){ pMajor = pMinor = pRevision = 0; }
118 virtual bool FileOpen(
char* pFileName) = 0;
125 virtual bool FileOpen(
FbxStream* pStream,
void* pStreamData);
130 virtual bool FileClose() = 0;
135 virtual bool IsFileOpen() = 0;
141 virtual bool GetReadOptions(
bool pParseFileAsNeeded =
true) = 0;
149 #ifndef FBXSDK_ENV_WINSTORE
158 virtual void PluginReadParameters(
FbxObject& pParams);
207 virtual bool GetDefaultRenderResolution(
FbxString& pCamName,
FbxString& pResolutionMode,
double& pW,
double& pH);
236 virtual bool SupportsStreams()
const;
241 #ifndef DOXYGEN_SHOULD_SKIP_THIS
242 virtual bool FileOpen(
FbxFile * pFile);
244 FbxStatus& GetStatus() {
return mStatus; }
247 void SetDefaultRenderResolution(
const char* pCamName,
const char* pResolutionMode,
double pW,
double pH);
248 #ifndef FBXSDK_ENV_WINSTORE
249 void PluginsReadBegin(
FbxScene& pScene);
250 void PluginsRead(
const char* pName,
const char* pVersion);
251 void PluginsReadEnd(
FbxScene& pScene);
254 virtual bool CheckDuplicateNodeNames(
FbxNode* pRootNode,
FbxString& pDuplicateNodeNameList);
264 friend struct FbxReaderFbx7_Impl;
269 #define IOS_REF (*GetIOSettings())
EFileOpenSpecialFlags
Flags for reading parts of file.
Callback to operate on the embedded data while it is processed.
FBX SDK environment definition.
virtual void GetVersion(int &pMajor, int &pMinor, int &pRevision)
Returns the file version.
This class represents the coordinate system of the scene and can convert scenes to other coordinate s...
Abstract class for implementing I/O operations through a stream of data.
To get the file description for a reader ex: "Autodesk FBX (*.fbx)".
Utility class to manipulate strings.
FbxDocument is a base class for FbxScene and FbxLibrary classes.
To get the file ext for a reader ex: "FBX".
This class is a basic class to get the quantity of items.
Base class of other readers used internally.
This class facilitates the testing/reporting of errors.
FbxIOSettings is a collection of properties, arranged as a tree, that can be used by FBX file readers...
virtual bool GetAxisInfo(FbxAxisSystem *, FbxSystemUnit *)
Returns the system axis information and file system units from the file.
This class contains scene thumbnails and user-defined summary data.
The base class of most FBX objects.
EInfoRequest
Information type to request.
Render and resolution information.
Represents an element in the scene graph.
This class contains the description of a 3D scene.
virtual void SetProgressHandler(FbxProgress *)
Pass a progress handler to the reader.
virtual FbxArray< FbxTakeInfo * > * GetTakeInfo()
Returns the list of take infos from the file.
Class for progress reporting.
virtual bool GetStatistics(FbxStatistics *)
Returns statistics from the file.
virtual bool FileOpen(char *pFileName, EFileOpenSpecialFlags)
Opens the file with specific EFileOpenSpecialFlags.
This class describes the units of measurement used within a particular scene.
This class contains take information from an imported file or exported to an output file...
virtual FbxDocumentInfo * GetSceneInfo()
Returns the scene info from the file.
Class for interfacing with files, providing a similar interface for files independant of the OS or fi...
virtual bool GetFrameRate(FbxTime::EMode &pTimeMode)
Get FBX file time mode read from GlobalSettings in FBX 6.n and FBX 7.n.
virtual void SetEmbeddedFileCallback(FbxEmbeddedFileCallback *)
virtual void SetEmbeddingExtractionFolder(const char *)
Class to import an FBX file into SDK objects.