|
MVE - Multi-View Environment mve-devel
|
Scene representation for the MVE. More...
#include <scene.h>
Public Types | |
| typedef std::shared_ptr< Scene > | Ptr |
| typedef std::vector< View::Ptr > | ViewList |
Public Member Functions | |
| Scene (const Scene &)=delete | |
| void | cache_cleanup (void) |
| Forces cleanup of unused embeddings. | |
| Bundle::ConstPtr | get_bundle (void) |
| Returns the bundle structure. | |
| std::size_t | get_bundle_mem_usage (void) |
| Returns key point memory usage. | |
| std::string const & | get_path (void) const |
| Returns the base path of the scene. | |
| std::size_t | get_total_mem_usage (void) |
| Returns total scene memory usage. | |
| View::Ptr | get_view_by_id (std::size_t id) |
| Returns a view by ID or 0 on failure. | |
| std::size_t | get_view_mem_usage (void) |
| Returns view memory usage. | |
| ViewList & | get_views (void) |
| Returns the list of views. | |
| ViewList const & | get_views (void) const |
| Returns the list of views. | |
| bool | is_dirty (void) const |
| Returns true if one of the views or the bundle file is dirty. | |
| void | load_scene (std::string const &base_path) |
| Loads the scene from the given directory. | |
| Scene & | operator= (const Scene &)=delete |
| void | reset_bundle (void) |
| Resets the bundle file such that it is re-read on get_bundle. | |
| void | rewrite_all_views (void) |
| Forces rewriting of all views. | |
| void | save_bundle (void) |
| Saves the bundle file if dirty. | |
| void | save_scene (void) |
| Saves bundle file if dirty as well as dirty embeddings. | |
| void | save_views (void) |
| Saves dirty embeddings only. | |
| void | set_bundle (Bundle::Ptr bundle) |
| Sets a new bundle structure. | |
Static Public Member Functions | |
| static Scene::Ptr | create (std::string const &path) |
| Constructs and loads a scene from the given directory. | |
Protected Member Functions | |
| Scene (void) | |
Scene representation for the MVE.
A scene is loaded by specifying the scene root directory. The following files and directories are recognized within the scene root:
| typedef std::shared_ptr<Scene> mve::Scene::Ptr |
| typedef std::vector<View::Ptr> mve::Scene::ViewList |
|
delete |
| void mve::Scene::cache_cleanup | ( | void | ) |
|
inlinestatic |
| Bundle::ConstPtr mve::Scene::get_bundle | ( | void | ) |
| std::size_t mve::Scene::get_bundle_mem_usage | ( | void | ) |
|
inline |
| std::size_t mve::Scene::get_total_mem_usage | ( | void | ) |
|
inline |
| std::size_t mve::Scene::get_view_mem_usage | ( | void | ) |
|
inline |
|
inline |
| bool mve::Scene::is_dirty | ( | void | ) | const |
| void mve::Scene::load_scene | ( | std::string const & | base_path | ) |
|
inline |
| void mve::Scene::rewrite_all_views | ( | void | ) |
Forces rewriting of all views.
Can take a long time.
| void mve::Scene::save_bundle | ( | void | ) |
| void mve::Scene::save_scene | ( | void | ) |
| void mve::Scene::save_views | ( | void | ) |
|
inline |