#include <Loader.h>
|
| bool | CheckKeysInRange (const aiNodeAnim *, double start, double end) |
| |
| matrix4x4f | ConvertMatrix (const aiMatrix4x4 &) const |
| |
| Model * | CreateModel (ModelDefinition &def) |
| |
| RefCountedPtr< Node > | LoadMesh (const std::string &filename, const std::vector< AnimDefinition > &animDefs) |
| |
| void | AddLog (const std::string &) |
| |
| void | CheckAnimationConflicts (const Animation *, const std::vector< Animation * > &) |
| |
| void | ConvertAiMeshes (std::vector< RefCountedPtr< StaticGeometry > > &, const aiScene *) |
| |
| void | ConvertAnimations (const aiScene *, const std::vector< AnimDefinition > &, Node *meshRoot) |
| |
| void | ConvertNodes (aiNode *node, Group *parent, std::vector< RefCountedPtr< StaticGeometry > > &meshes, const matrix4x4f &) |
| |
| void | CreateLabel (const std::string &name, Group *parent, const matrix4x4f &) |
| |
| void | CreateThruster (const std::string &name, const matrix4x4f &nodeTrans) |
| |
| void | CreateNavlight (const std::string &name, const matrix4x4f &nodeTrans) |
| |
| RefCountedPtr< CollisionGeometry > | CreateCollisionGeometry (RefCountedPtr< StaticGeometry >, unsigned int collFlag) |
| |
| void | LoadCollision (const std::string &filename) |
| |
| unsigned int | GetGeomFlagForNodeName (const std::string &) |
| |
| void | ConvertMaterialDefinition (const MaterialDefinition &) |
| |
| void | FindPatterns (PatternContainer &output) |
| |
| void | SetUpPatterns () |
| |
◆ ModelFormat
| Enumerator |
|---|
| UNKNOWN | |
| GLTF | |
| COLLADA | |
| WAVEFRONT | |
◆ Loader()
| SceneGraph::Loader::Loader |
( |
Graphics::Renderer * |
r, |
|
|
bool |
logWarnings = false, |
|
|
bool |
loadSGMfiles = true |
|
) |
| |
◆ AddLog()
| void SceneGraph::Loader::AddLog |
( |
const std::string & |
msg | ) |
|
|
protected |
◆ CheckAnimationConflicts()
| void SceneGraph::Loader::CheckAnimationConflicts |
( |
const Animation * |
anim, |
|
|
const std::vector< Animation * > & |
otherAnims |
|
) |
| |
|
protected |
◆ CheckKeysInRange()
| bool SceneGraph::Loader::CheckKeysInRange |
( |
const aiNodeAnim * |
chan, |
|
|
double |
start, |
|
|
double |
end |
|
) |
| |
|
protected |
◆ ConvertAiMeshes()
◆ ConvertAnimations()
| void SceneGraph::Loader::ConvertAnimations |
( |
const aiScene * |
scene, |
|
|
const std::vector< AnimDefinition > & |
animDefs, |
|
|
Node * |
meshRoot |
|
) |
| |
|
protected |
◆ ConvertMatrix()
| matrix4x4f SceneGraph::Loader::ConvertMatrix |
( |
const aiMatrix4x4 & |
trans | ) |
const |
|
protected |
◆ ConvertNodes()
◆ CreateCollisionGeometry()
◆ CreateLabel()
| void SceneGraph::Loader::CreateLabel |
( |
const std::string & |
name, |
|
|
Group * |
parent, |
|
|
const matrix4x4f & |
m |
|
) |
| |
|
protected |
◆ CreateModel()
◆ CreateNavlight()
| void SceneGraph::Loader::CreateNavlight |
( |
const std::string & |
name, |
|
|
const matrix4x4f & |
nodeTrans |
|
) |
| |
|
protected |
◆ CreateThruster()
| void SceneGraph::Loader::CreateThruster |
( |
const std::string & |
name, |
|
|
const matrix4x4f & |
nodeTrans |
|
) |
| |
|
protected |
◆ GetGeomFlagForNodeName()
| unsigned int SceneGraph::Loader::GetGeomFlagForNodeName |
( |
const std::string & |
nodename | ) |
|
|
protected |
◆ GetLogMessages()
| const std::vector< std::string > & SceneGraph::Loader::GetLogMessages |
( |
| ) |
const |
|
inline |
◆ LoadCollision()
| void SceneGraph::Loader::LoadCollision |
( |
const std::string & |
filename | ) |
|
|
protected |
◆ LoadMesh()
◆ LoadModel() [1/2]
| Model * SceneGraph::Loader::LoadModel |
( |
const std::string & |
name | ) |
|
◆ LoadModel() [2/2]
| Model * SceneGraph::Loader::LoadModel |
( |
const std::string & |
name, |
|
|
const std::string & |
basepath |
|
) |
| |
◆ m_billboardsRoot
◆ m_curMeshDef
| std::string SceneGraph::Loader::m_curMeshDef |
|
protected |
◆ m_doLog
| bool SceneGraph::Loader::m_doLog |
|
protected |
◆ m_loadSGMs
| bool SceneGraph::Loader::m_loadSGMs |
|
protected |
◆ m_logMessages
| std::vector<std::string> SceneGraph::Loader::m_logMessages |
|
protected |
◆ m_modelFormat
◆ m_mostDetailedLod
| bool SceneGraph::Loader::m_mostDetailedLod |
|
protected |
◆ m_thrustersRoot
The documentation for this class was generated from the following files: