![]() |
Number5
Visualisierung 2 Project - Florian Schober (0828151, f.schober@live.com), Andreas Walch (0926780, walch.andreas89@gmail.com)
|
#include <Scene.hpp>
Classes | |
| class | Material |
| class | Mesh |
| class | Node |
| class | NodeAnimation |
Public Member Functions | |
| Scene (Application *app, string const &name) | |
| ~Scene () | |
| void | updateInstance (SceneInstance *instance, float const time) |
| void | updateAllInstances (float const time) |
| void | drawAllInstances (DrawArgs &args, Shader *shader) |
| void | updateNdraw (DrawArgs &args, Shader *shader) |
| SceneInstance * | createInstance (bool pickable=true) |
| void | unregisterInstance (SceneInstance *obj) |
Private Attributes | |
| auto_reset_event | m_parallelEvent |
| string | m_name |
| vector< unique_ptr< Material > > | m_materials |
| vector< unique_ptr< Mesh > > | m_meshes |
| unique_ptr< Node > | m_root |
| set< SceneInstance * > | m_instances |
| Application * | m_app |
| map< string, int > | m_animationsByName |
| vector< float > | m_animationsDuration |
| size_t | m_boneCount |
| size_t | m_drawNodeCount |
| vector< mat4 > | m_boneOffsets |
| mat4 | m_inverseRootTransform |
| size_t | m_instancesInBuffer |
| bool | m_needToUpdateIdBuffer |
| GLuint | m_positionsBuffer |
| GLuint | m_uvBuffer |
| GLuint | m_normalsBuffer |
| GLuint | m_boneIdBuffer |
| GLuint | m_boneWeightBuffer |
| GLuint | m_indicesBuffer |
| GLuint | m_vao |
| GLuint | m_stateTBO |
| GLuint | m_stateBuffer |
| GLuint | m_idTBO |
| GLuint | m_idBuffer |
Friends | |
| class | SceneInstance |
A Scene represents a hierachical scene that can be animated using keyframes. It is loaded from a file using Assimp.
| Scene | ( | Application * | app, |
| string const & | name | ||
| ) |
| SceneInstance * createInstance | ( | bool | pickable = true | ) |
| void unregisterInstance | ( | SceneInstance * | obj | ) |
| void updateAllInstances | ( | float const | time | ) |
| void updateInstance | ( | SceneInstance * | instance, |
| float const | time | ||
| ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.7