13 #ifndef _FBXSDK_FILEIO_READER_H_
14 #define _FBXSDK_FILEIO_READER_H_
93 eParseForGlobalSettings = 1,
94 eParseForStatistics = 2
104 typedef void* (*GetInfoFuncType)(
EInfoRequest pRequest,
int pReaderTypeId);
111 virtual void GetVersion(
int& pMajor,
int& pMinor,
int& pRevision){ pMajor = pMinor = pRevision = 0; }
117 virtual bool FileOpen(
char* pFileName) = 0;
124 virtual bool FileOpen(
FbxStream* pStream,
void* pStreamData);
129 virtual bool FileClose() = 0;
134 virtual bool IsFileOpen() = 0;
140 virtual bool GetReadOptions(
bool pParseFileAsNeeded =
true) = 0;
148 #ifndef FBXSDK_ENV_WINSTORE
157 virtual void PluginReadParameters(
FbxObject& pParams);
206 virtual bool GetDefaultRenderResolution(
FbxString& pCamName,
FbxString& pResolutionMode,
double& pW,
double& pH);
233 virtual bool SupportsStreams()
const;
238 #ifndef DOXYGEN_SHOULD_SKIP_THIS
239 virtual bool FileOpen(
FbxFile * pFile);
241 FbxStatus& GetStatus() {
return mStatus; }
244 void SetDefaultRenderResolution(
const char* pCamName,
const char* pResolutionMode,
double pW,
double pH);
245 #ifndef FBXSDK_ENV_WINSTORE
246 void PluginsReadBegin(
FbxScene& pScene);
247 void PluginsRead(
const char* pName,
const char* pVersion);
248 void PluginsReadEnd(
FbxScene& pScene);
251 virtual bool CheckDuplicateNodeNames(
FbxNode* pRootNode,
FbxString& pDuplicateNodeNameList);
261 friend struct FbxReaderFbx7_Impl;
266 #define IOS_REF (*GetIOSettings())
EFileOpenSpecialFlags
Flags for reading parts of file.
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 SetEmbeddingExtractionFolder(const char *)
Class to import an FBX file into SDK objects.