SLProject 4.0.000
|
Interface for 3D file format importer implementations. More...
#include <SLImporter.h>
Public Member Functions | |
SLImporter () | |
SLImporter (SLLogVerbosity consoleVerb) | |
SLImporter (const SLstring &logFile, SLLogVerbosity logConsoleVerb=LV_normal, SLLogVerbosity logFileVerb=LV_diagnostic) | |
virtual | ~SLImporter () |
void | logConsoleVerbosity (SLLogVerbosity verb) |
void | logFileVerbosity (SLLogVerbosity verb) |
virtual SLNode * | load (SLAnimManager &aniMan, SLAssetManager *assetMgr, SLstring pathFilename, SLstring texturePath, SLSkybox *skybox=nullptr, SLbool deleteTexImgAfterBuild=false, SLbool loadMeshesOnly=true, SLMaterial *overrideMat=nullptr, float ambientFactor=0.0f, SLbool forceCookTorranceRM=false, SLProgressHandler *progressHandler=nullptr, SLuint flags=SLProcess_Triangulate|SLProcess_JoinIdenticalVertices|SLProcess_SplitLargeMeshes|SLProcess_RemoveRedundantMaterials|SLProcess_SortByPType|SLProcess_FindDegenerates|SLProcess_FindInvalidData)=0 |
SLNode * | rootNode () |
SLVMesh & | meshes () |
SLAnimSkeleton * | skeleton () |
SLVAnimation & | nodeAnimations () |
Protected Member Functions | |
void | logMessage (SLLogVerbosity verbosity, const char *msg,...) |
Protected Attributes | |
std::ofstream | _log |
log stream More... | |
SLstring | _logFile |
name of the log file More... | |
SLLogVerbosity | _logConsoleVerbosity |
verbosity level of log output to the console More... | |
SLLogVerbosity | _logFileVerbosity |
verbosity level of log output to the file More... | |
SLNode * | _sceneRoot |
the root node of the scene More... | |
SLVMesh | _meshes |
all imported meshes More... | |
SLAnimSkeleton * | _skeleton |
the imported skeleton for this file More... | |
SLVAnimation | _nodeAnimations |
all imported node animations More... | |
Interface for 3D file format importer implementations.
SLImporter::SLImporter | ( | ) |
Default constructor, doesn't log anything
|
explicit |
Constructor that only outputs console logs
|
explicit |
Constructor that allows logging to a file with different verbosity
|
virtual |
Destructor, closes the file stream if it was used
|
pure virtual |
|
inline |
|
inline |
|
protected |
Logs messages to the importer logfile and the console
msg | the message to add to the log |
verbosity | the verbosity of the message |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
log stream
|
protected |
verbosity level of log output to the console
|
protected |
name of the log file
|
protected |
verbosity level of log output to the file
|
protected |
all imported meshes
|
protected |
all imported node animations
|
protected |
the root node of the scene
|
protected |
the imported skeleton for this file