Assimp  v3.1.1 (June 2014)
Public Member Functions | Protected Attributes | List of all members
Assimp::Importer Class Reference

CPP-API: The Importer class forms an C++ interface to the functionality of the Open Asset Import Library. More...

Public Member Functions

const aiSceneApplyPostProcessing (unsigned int pFlags)
 Apply post-processing to an already-imported scene. More...
 
void FreeScene ()
 Frees the current scene. More...
 
const char * GetErrorString () const
 Returns an error description of an error that occurred in ReadFile(). More...
 
void GetExtensionList (aiString &szOut) const
 Get a full list of all file extensions supported by ASSIMP. More...
 
void GetExtensionList (std::string &szOut) const
 Get a full list of all file extensions supported by ASSIMP. More...
 
BaseImporterGetImporter (size_t index) const
 Find the importer corresponding to a specific index. More...
 
BaseImporterGetImporter (const char *szExtension) const
 Find the importer corresponding to a specific file extension. More...
 
size_t GetImporterCount () const
 Get the number of importrs currently registered with Assimp. More...
 
size_t GetImporterIndex (const char *szExtension) const
 Find the importer index corresponding to a specific file extension. More...
 
const aiImporterDescGetImporterInfo (size_t index) const
 Get meta data for the importer corresponding to a specific index. More...
 
IOSystemGetIOHandler () const
 Retrieves the IO handler that is currently set. More...
 
void GetMemoryRequirements (aiMemoryInfo &in) const
 Returns the storage allocated by ASSIMP to hold the scene data in memory. More...
 
aiSceneGetOrphanedScene ()
 Returns the scene loaded by the last successful call to ReadFile() and releases the scene from the ownership of the Importer instance. More...
 
ProgressHandlerGetProgressHandler () const
 Retrieves the progress handler that is currently set. More...
 
bool GetPropertyBool (const char *szName, bool bErrorReturn=false) const
 Get a boolean configuration property. More...
 
float GetPropertyFloat (const char *szName, float fErrorReturn=10e10f) const
 Get a floating-point configuration property. More...
 
int GetPropertyInteger (const char *szName, int iErrorReturn=0xffffffff) const
 Get a configuration property. More...
 
const aiMatrix4x4 GetPropertyMatrix (const char *szName, const aiMatrix4x4 &sErrorReturn=aiMatrix4x4()) const
 Get a matrix configuration property. More...
 
const std::string GetPropertyString (const char *szName, const std::string &sErrorReturn="") const
 Get a string configuration property. More...
 
const aiSceneGetScene () const
 Returns the scene loaded by the last successful call to ReadFile() More...
 
 Importer ()
 Constructor. More...
 
 Importer (const Importer &other)
 Copy constructor. More...
 
bool IsDefaultIOHandler () const
 Checks whether a default IO handler is active A default handler is active as long the application doesn't supply its own custom IO handler via SetIOHandler(). More...
 
bool IsDefaultProgressHandler () const
 Checks whether a default progress handler is active A default handler is active as long the application doesn't supply its own custom progress handler via SetProgressHandler(). More...
 
bool IsExtensionSupported (const char *szExtension) const
 Returns whether a given file extension is supported by ASSIMP. More...
 
bool IsExtensionSupported (const std::string &szExtension) const
 Returns whether a given file extension is supported by ASSIMP. More...
 
ImporterPimpl * Pimpl ()
 Private, do not use. More...
 
const ImporterPimpl *