The class which is responsible for loading all the details to build up a scene.
More...
#include <assimpLoader.hpp>
|
static void | loadModel (const aiMesh *mesh, std::unique_ptr< Model > &model) |
|
static void | selectAdjacent (const aiMesh *mesh, std::vector< unsigned int > &indices) |
|
The class which is responsible for loading all the details to build up a scene.
The AssimpLoader class
- Author
- Adam, Felix
- See also
- Scene
AssimpLoader::AssimpLoader |
( |
const std::string & |
scenePath, |
|
|
Scene * |
scene |
|
) |
| |
glm::mat4 AssimpLoader::aiMat2glmMat |
( |
const aiMatrix4x4 & |
m | ) |
|
|
private |
glm::vec3 AssimpLoader::aiVec2glmVec |
( |
const aiColor3D & |
v | ) |
|
|
private |
glm::vec4 AssimpLoader::aiVec2glmVec |
( |
const aiColor4D & |
v | ) |
|
|
private |
void AssimpLoader::loadModel |
( |
const aiMesh * |
mesh, |
|
|
std::unique_ptr< Model > & |
model |
|
) |
| |
|
static |
void AssimpLoader::nextNode |
( |
aiNode * |
iparent, |
|
|
std::shared_ptr< SceneObject > |
parent |
|
) |
| |
|
private |
void AssimpLoader::selectAdjacent |
( |
const aiMesh * |
mesh, |
|
|
std::vector< unsigned int > & |
indices |
|
) |
| |
|
static |
Assimp::Importer AssimpLoader::importer |
|
private |
const aiScene* AssimpLoader::iscene |
|
private |
Scene* AssimpLoader::scene |
|
private |
The documentation for this class was generated from the following files: