FbxWriterFbx7 Class Reference
 
 
 
FbxWriterFbx7 Class Reference

#include <fbxwriterfbx7.h>


Class Description

Definition at line 22 of file fbxwriterfbx7.h.

Inheritance diagram for FbxWriterFbx7:
FbxWriter

List of all members.

Classes

struct   ModifiedPropertyInfo

Public Types

enum   EExportMode { eASCII, eBINARY, eENCRYPTED }

Public Member Functions

  FbxWriterFbx7 (FbxManager &pManager, FbxExporter &pExporter, int pID, FbxStatus &pStatus)
  FbxWriterFbx7 (FbxManager &pManager, FbxExporter &pExporter, EExportMode pMode, int pID, FbxStatus &pStatus)
virtual  ~FbxWriterFbx7 ()
virtual bool  FileCreate (char *pFileName)
  Creates a new file.
virtual bool  FileCreate (FbxStream *pStream, void *pStreamData)
  Creates a new file via a stream.
virtual bool  FileClose ()
  Closes the file.
virtual bool  IsFileOpen ()
  Test if the file is open.
virtual void  GetWriteOptions ()
  Setup write options.
virtual bool  Write (FbxDocument *pDocument)
  Writes content to the specified file with given stream options.
virtual bool  PreprocessScene (FbxScene &pScene)
  Pre-processes the scene.
virtual bool  PostprocessScene (FbxScene &pScene)
  Post-processes the scene.
virtual bool  Write (FbxDocument *pDocument, FbxIO *pFbx)
virtual void  PluginWriteParameters (FbxObject &pParams)
  Writes extension plug-ins name, version and parameters, so that we can remember if a plug-in was used during export.
virtual void  SetProgressHandler (FbxProgress *pProgress)
  Pass a progress handler to the writer.
void  SetExportMode (EExportMode pMode)
virtual bool  SupportsStreams () const
  Returns true if this writer supports FbxStream I/O.

Member Enumeration Documentation


Constructor & Destructor Documentation

FbxWriterFbx7 ( FbxManager pManager,
FbxExporter pExporter,
int  pID,
FbxStatus pStatus 
)
FbxWriterFbx7 ( FbxManager pManager,
FbxExporter pExporter,
EExportMode  pMode,
int  pID,
FbxStatus pStatus 
)
virtual ~FbxWriterFbx7 ( ) [virtual]

Member Function Documentation

virtual bool FileCreate ( char *  pFileName ) [virtual]

Creates a new file.

Parameters:
pFileName The name of the newly created file.

Implements FbxWriter.

virtual bool FileCreate ( FbxStream pStream,
void *  pStreamData 
) [virtual]

Creates a new file via a stream.

Parameters:
pStream The stream to write to.
pStreamData the user-defined stream data to be written.

Reimplemented from FbxWriter.

virtual bool FileClose ( ) [virtual]

Closes the file.

Implements FbxWriter.

virtual bool IsFileOpen ( ) [virtual]

Test if the file is open.

Implements FbxWriter.

virtual void GetWriteOptions ( ) [virtual]

Setup write options.

Implements FbxWriter.

virtual bool Write ( FbxDocument pDocument ) [virtual]

Writes content to the specified file with given stream options.

Parameters:
pDocument FbxDocument to write file data to.

Implements FbxWriter.

virtual bool PreprocessScene ( FbxScene pScene ) [virtual]

Pre-processes the scene.

Parameters:
pScene The scene needs to be pre-processed.

Implements FbxWriter.

virtual bool PostprocessScene ( FbxScene pScene ) [virtual]

Post-processes the scene.

Parameters:
pScene The scene needs to be post-processed.

Implements FbxWriter.

virtual bool Write ( FbxDocument pDocument,
FbxIO pFbx 
) [virtual]
virtual void PluginWriteParameters ( FbxObject pParams ) [virtual]

Writes extension plug-ins name, version and parameters, so that we can remember if a plug-in was used during export.

This is especially useful for extension plug-ins that modify the scene and also to warn users during import if an extension plug-in was used that could be missing.

Parameters:
pParams The parameters of the extension plug-in. The properties of the objects are used as the parameters of the extension plug-in.
Remarks:
This function has no implementation in this class. Only sub-class should implement it as needed. For example, FBX 6 and FBX 7 does implement it.

Reimplemented from FbxWriter.

virtual void SetProgressHandler ( FbxProgress ) [virtual]

Pass a progress handler to the writer.

Parameters:
pProgress FbxProgress to store the progress information.

Reimplemented from FbxWriter.

void SetExportMode ( EExportMode  pMode )
virtual bool SupportsStreams ( ) const [inline, virtual]

Returns true if this writer supports FbxStream I/O.

Default value is false.

Reimplemented from FbxWriter.

Definition at line 51 of file fbxwriterfbx7.h.

{ return true; }

The documentation for this class was generated from the following file: