SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
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 | _animationNamesMap |
all imported node animations More... | |
Interface for 3D file format importer implementations.
Definition at line 65 of file SLImporter.h.
SLImporter::SLImporter | ( | ) |
Default constructor, doesn't log anything
Definition at line 17 of file SLImporter.cpp.
|
explicit |
|
explicit |
Constructor that allows logging to a file with different verbosity
Definition at line 37 of file SLImporter.cpp.
|
virtual |
Destructor, closes the file stream if it was used
Definition at line 51 of file SLImporter.cpp.
|
pure virtual |
|
inline |
Definition at line 75 of file SLImporter.h.
|
inline |
Definition at line 76 of file SLImporter.h.
|
protected |
Logs messages to the importer logfile and the console
msg | the message to add to the log |
verbosity | the verbosity of the message |
Definition at line 66 of file SLImporter.cpp.
|
inline |
Definition at line 119 of file SLImporter.h.
|
inline |
Definition at line 121 of file SLImporter.h.
|
inline |
Definition at line 118 of file SLImporter.h.
|
inline |
Definition at line 120 of file SLImporter.h.
|
protected |
all imported node animations
Definition at line 133 of file SLImporter.h.
|
protected |
log stream
Definition at line 124 of file SLImporter.h.
|
protected |
verbosity level of log output to the console
Definition at line 126 of file SLImporter.h.
|
protected |
name of the log file
Definition at line 125 of file SLImporter.h.
|
protected |
verbosity level of log output to the file
Definition at line 127 of file SLImporter.h.
|
protected |
all imported meshes
Definition at line 131 of file SLImporter.h.
|
protected |
the root node of the scene
Definition at line 130 of file SLImporter.h.
|
protected |
the imported skeleton for this file
Definition at line 132 of file SLImporter.h.