13 #ifndef _FBXSDK_FILEIO_WRITER_H_
14 #define _FBXSDK_FILEIO_WRITER_H_
35 #define IOSP GetIOSettings()
92 typedef void* (*GetInfoFuncType)(
EInfoRequest pRequest,
int pWriterTypeId);
97 virtual bool FileCreate(
char* pFileName) = 0;
103 virtual bool FileCreate(
FbxStream* pStream,
void* pStreamData);
107 virtual bool FileClose() = 0;
111 virtual bool IsFileOpen() = 0;
115 virtual void GetWriteOptions() = 0;
125 virtual bool PreprocessScene(
FbxScene &pScene) = 0;
130 virtual bool PostprocessScene(
FbxScene &pScene) = 0;
132 #ifndef FBXSDK_ENV_WINSTORE
141 virtual void PluginWriteParameters(
FbxObject& pParams);
157 virtual bool CheckSpaceInNodeNameRecursive(
FbxNode* pNode,
FbxString& pNodeNameList);
162 bool SetFileExportVersion(
FbxString pVersion);
199 virtual bool SupportsStreams()
const;
202 #ifndef FBXSDK_ENV_WINSTORE
203 void PluginsWriteBegin(
FbxScene& pScene);
210 void PluginsWrite(
FbxIO& pFbx,
bool pWriteObjectId);
212 void PluginsWriteEnd(
FbxScene& pScene);
219 #ifndef DOXYGEN_SHOULD_SKIP_THIS
220 FbxStatus& GetStatus() {
return mStatus; }
230 double mResamplingRate;
238 friend struct FbxWriterFbx7_Impl;
243 #define IOS_REF (*GetIOSettings())
Callback to operate on the embedded data while it is processed.
FBX SDK environment definition.
EInfoRequest
Information type to request.
Abstract class for implementing I/O operations through a stream of data.
Utility class to manipulate strings.
FbxDocument is a base class for FbxScene and FbxLibrary classes.
virtual void SetEmbeddedFileCallback(FbxEmbeddedFileCallback *)
To get the file version for a writer ex: 7100.
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...
void SetRenamingMode(FbxSceneRenamer::ERenamingMode pRenamingMode)
Sets the renaming mode as specified.
The base class of most FBX objects.
void SetResamplingRate(double pResamplingRate)
Sets the resampling rate as specified.
To get the file description for a writer ex:"Autodesk FBX (*.fbx)".
Represents an element in the scene graph.
Class to export SDK objects into an FBX file.
This class contains the description of a 3D scene.
Base class of other writers used internally.
To get the file compatible description for a writer.
Class for progress reporting.
To get the file ext for a writer ex: "FBX".
FbxIO represents an FBX file.
To get the file UI label to show for a writer ex: file labels shown in "Open file dialog"...
virtual void SetProgressHandler(FbxProgress *)
Pass a progress handler to the writer.
Class for interfacing with files, providing a similar interface for files independant of the OS or fi...
ERenamingMode
The Mode describing from which format to which format.