![]() |
Radium Engine
1.7.0
|
#include <IO/AssimpLoader/AssimpGeometryDataLoader.hpp>
Collaboration diagram for Ra::IO::AssimpGeometryDataLoader:Public Member Functions | |
| AssimpGeometryDataLoader (const std::string &filepath, const bool VERBOSE_MODE=false) | |
| void | loadData (const aiScene *scene, std::vector< std::unique_ptr< Core::Asset::GeometryData > > &data) override |
Convert all the geometry data from scene into data. | |
Protected Member Functions | |
| bool | sceneHasGeometry (const aiScene *scene) const |
| Return true if the given scene has geometry data. | |
| uint | sceneGeometrySize (const aiScene *scene) const |
| Return the number of AssImp geometry data in the given scene. | |
| void | loadGeometryData (const aiScene *scene, std::vector< std::unique_ptr< Core::Asset::GeometryData > > &data) |
Fill data with all the GeometryData from scene. | |
| void | loadMaterial (const aiMaterial &material, Core::Asset::GeometryData &data) const |
Fill data with the Material data from material. | |
| void | loadMeshFrame (const aiNode *node, const Core::Transform &parentFrame, const std::map< uint, size_t > &indexTable, std::vector< std::unique_ptr< Core::Asset::GeometryData > > &data) const |
Fill data with the transformation data from node and parentFrame. | |
The AssimpGeometryDataLoader converts geometry data from the Assimp format to the Asset::GeometryData format.
Definition at line 30 of file AssimpGeometryDataLoader.hpp.
|
explicit |
Definition at line 20 of file AssimpGeometryDataLoader.cpp.
|
override |
Convert all the geometry data from scene into data.
Definition at line 26 of file AssimpGeometryDataLoader.cpp.
|
protected |
Fill data with all the GeometryData from scene.
Definition at line 286 of file AssimpGeometryDataLoader.cpp.
Here is the call graph for this function:
|
protected |
Fill data with the Material data from material.
Definition at line 210 of file AssimpGeometryDataLoader.cpp.
Here is the call graph for this function:
|
protected |
Fill data with the transformation data from node and parentFrame.
Definition at line 142 of file AssimpGeometryDataLoader.cpp.
Here is the call graph for this function:
|
protected |
Return the number of AssImp geometry data in the given scene.
Definition at line 54 of file AssimpGeometryDataLoader.cpp.
|
inlineprotected |
Return true if the given scene has geometry data.
Definition at line 50 of file AssimpGeometryDataLoader.cpp.