|
repo::core::model::RepoScene * | fetchScene (repo::core::handler::AbstractDatabaseHandler *handler, const std::string &database, const std::string &project, const repoUUID &uuid, const bool &headRevision=true, const bool &lightFetch=false) |
|
repo::core::model::RepoScene * | fetchScene (repo::core::handler::AbstractDatabaseHandler *handler, const std::string &database, const std::string &project) |
|
void | fetchScene (repo::core::handler::AbstractDatabaseHandler *handler, repo::core::model::RepoScene *scene) |
|
bool | generateAndCommitSelectionTree (repo::core::model::RepoScene *scene, repo::core::handler::AbstractDatabaseHandler *handler) |
|
bool | generateStashGraph (repo::core::model::RepoScene *scene, repo::core::handler::AbstractDatabaseHandler *handler=nullptr) |
|
bool | generateWebViewBuffers (repo::core::model::RepoScene *scene, const repo::manipulator::modelconvertor::WebExportType &exType, repo_web_buffers_t &resultBuffers, repo::core::handler::AbstractDatabaseHandler *handler=nullptr) |
|
bool | removeStashGraph (repo::core::model::RepoScene *scene, repo::core::handler::AbstractDatabaseHandler *handler=nullptr) |
|
Retrieve a RepoScene with a specific revision loaded.
- Parameters
-
handler | hander to the database |
database | the database the collection resides in |
project | name of the project |
uuid | if headRevision, uuid represents the branch id, otherwise the unique id of the revision branch |
headRevision | true if retrieving head revision |
lightFetch | fetches only the stash (or scene if stash failed), reduce computation and memory usage (ideal for visualisation only) |
- Returns
- returns a pointer to a repoScene.
Retrieve all RepoScene representations given a partially loaded scene.
- Parameters
-
handler | database handler |
scene | scene to fully load |
Generate and commit scene's selection tree in JSON format The generated data will be also commited to the database/project set within the scene
- Parameters
-
scene | scene to optimise |
handler | hander to the database |
- Returns
- return true upon success
Generate a stash graph for the given scene and populate it into the given scene If a databasehandler is given and the scene is revisioned, it will commit the stash to database
- Parameters
-
scene | scene to generate stash graph for |
handler | hander to the database |
- Returns
- returns true upon success
Generate a exType
encoding for the given scene if a database handler is provided, it will also commit the buffers into the database This requires the repo stash to have been generated already
- Parameters
-
scene | the scene to generate the src encoding from |
exType | the type of export it is |
- Returns
- returns repo_web_buffers upon success
Remove stash graph entry for the given scene Will also remove it from the database should handler exist
- Parameters
-
scene | scene reference to remove stash graph from |
handler | hander to the database |
- Returns
- returns true upon success
The documentation for this class was generated from the following files:
- C:/Users/Carmen/3D Repo/Repo/3drepobouncer/bouncer/src/repo/manipulator/modelutility/repo_scene_manager.h
- C:/Users/Carmen/3D Repo/Repo/3drepobouncer/bouncer/src/repo/manipulator/modelutility/repo_scene_manager.cpp