FbxReaderFbx5 Class Reference
 
 
 
FbxReaderFbx5 Class Reference

#include <fbxreaderfbx5.h>


Class Description

Definition at line 31 of file fbxreaderfbx5.h.

Inheritance diagram for FbxReaderFbx5:
FbxReader

List of all members.

Public Types

enum   EImportMode { eASCII, eBINARY, eENCRYPTED }

Public Member Functions

  FbxReaderFbx5 (FbxManager &pManager, FbxImporter &pImporter, int pID, FbxStatus &pStatus)
virtual  ~FbxReaderFbx5 ()
virtual bool  FileOpen (char *pFileName, bool pIgnoredArg)
virtual bool  FileOpen (char *pFileName)
  Opens the file with default flag.
virtual bool  FileOpen (FbxFile *pFile)
virtual bool  FileOpen (FbxStream *pStream, void *pStreamData)
  Opens the stream with default flag.
virtual bool  FileClose ()
  Closes the file stream.
virtual bool  IsFileOpen ()
  Checks if the file stream is open.
virtual void  SetEmbeddingExtractionFolder (const char *pExtractFolder)
EImportMode  GetImportMode ()
virtual void  GetVersion (int &pMajor, int &pMinor, int &pRevision)
  Returns the file version.
virtual bool  GetReadOptions (bool pParseFileAsNeeded=true)
  Returns file stream options.
virtual bool  Read (FbxDocument *pDocument)
  Reads file with stream options.
virtual bool  GetReadOptions (FbxIO *pFbx, bool pParseFileAsNeeded=true)
virtual bool  Read (FbxScene &pScene, FbxIO *pFbx)
virtual FbxDocumentInfo GetSceneInfo ()
  Returns the scene info from the file.
virtual FbxArray< FbxTakeInfo * > *  GetTakeInfo ()
  Returns the list of take infos from the file.
virtual bool  SupportsStreams () const
  Returns true if this reader supports FbxStream I/O.

Member Enumeration Documentation


Constructor & Destructor Documentation

FbxReaderFbx5 ( FbxManager pManager,
FbxImporter pImporter,
int  pID,
FbxStatus pStatus 
)
virtual ~FbxReaderFbx5 ( ) [virtual]

Member Function Documentation

virtual bool FileOpen ( char *  pFileName,
bool  pIgnoredArg 
) [virtual]
virtual bool FileOpen ( char *  pFileName ) [virtual]

Opens the file with default flag.

Parameters:
pFileName Name of the File to open
Returns:
If the file opens successfully return true, otherwise return false.

Implements FbxReader.

virtual bool FileOpen ( FbxFile pFile ) [virtual]
virtual bool FileOpen ( FbxStream pStream,
void *  pStreamData 
) [virtual]

Opens the stream with default flag.

Parameters:
pStream stream to open
pStreamData user-defined stream data
Returns:
If the stream opens successfully return true, otherwise return false.

Reimplemented from FbxReader.

virtual bool FileClose ( ) [virtual]

Closes the file stream.

Returns:
false

Implements FbxReader.

virtual bool IsFileOpen ( ) [virtual]

Checks if the file stream is open.

Returns:
false.

Implements FbxReader.

virtual void SetEmbeddingExtractionFolder ( const char *  pExtractFolder ) [virtual]
virtual void GetVersion ( int &  pMajor,
int &  pMinor,
int &  pRevision 
) [virtual]

Returns the file version.

Parameters:
pMajor Major version.
pMinor Minor version.
pRevision Revision version.

Reimplemented from FbxReader.

virtual bool GetReadOptions ( bool  pParseFileAsNeeded = true ) [virtual]

Returns file stream options.

Parameters:
pParseFileAsNeeded Sets whether to parse file as read options
Returns:
true on success, otherwise return false.

Implements FbxReader.

virtual bool Read ( FbxDocument pDocument ) [virtual]

Reads file with stream options.

Parameters:
pDocument FbxDocument to store the file data
Returns:
false.

Implements FbxReader.

virtual bool GetReadOptions ( FbxIO pFbx,
bool  pParseFileAsNeeded = true 
) [virtual]
virtual bool Read ( FbxScene pScene,
FbxIO pFbx 
) [virtual]
virtual FbxDocumentInfo* GetSceneInfo ( ) [inline, virtual]

Returns the scene info from the file.

Returns:
NULL.

Reimplemented from FbxReader.

Definition at line 62 of file fbxreaderfbx5.h.

{ return mSceneInfo; }
virtual FbxArray<FbxTakeInfo*>* GetTakeInfo ( ) [inline, virtual]

Returns the list of take infos from the file.

Returns:
NULL

Reimplemented from FbxReader.

Definition at line 63 of file fbxreaderfbx5.h.

{ return &mTakeInfo; }
virtual bool SupportsStreams ( ) const [inline, virtual]

Returns true if this reader supports FbxStream I/O.

Default value is false.

Reimplemented from FbxReader.

Definition at line 65 of file fbxreaderfbx5.h.

{ return true; }

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