FbxWriterFbx6 Class Reference
 
 
 
FbxWriterFbx6 Class Reference

#include <fbxwriterfbx6.h>


Class Description

Definition at line 26 of file fbxwriterfbx6.h.

Inheritance diagram for FbxWriterFbx6:
FbxWriter

List of all members.

Classes

struct   ModifiedPropertyInfo
struct   SurfaceMaterialAnimatedChannels
struct   TextureAnimatedChannels

Public Types

enum   EExportMode { eASCII, eBINARY, eENCRYPTED }

Public Member Functions

  FbxWriterFbx6 (FbxManager &pManager, FbxExporter &pExporter, int pID, FbxStatus &pStatus)
virtual  ~FbxWriterFbx6 ()
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.
void  SetExportMode (EExportMode pMode)
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 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 bool  Write (FbxDocument *pDocument, FbxIO *pFbx)
virtual void  SetProgressHandler (FbxProgress *pProgress)
  Pass a progress handler to the writer.
virtual bool  SupportsStreams () const
  Returns true if this writer supports FbxStream I/O.

Member Enumeration Documentation


Constructor & Destructor Documentation

FbxWriterFbx6 ( FbxManager pManager,
FbxExporter pExporter,
int  pID,
FbxStatus pStatus 
)
virtual ~FbxWriterFbx6 ( ) [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.

void SetExportMode ( EExportMode  pMode )
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 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 bool Write ( FbxDocument pDocument,
FbxIO pFbx 
) [virtual]
virtual void SetProgressHandler ( FbxProgress ) [virtual]

Pass a progress handler to the writer.

Parameters:
pProgress FbxProgress to store the progress information.

Reimplemented from FbxWriter.

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 49 of file fbxwriterfbx6.h.

{ return true; }

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