![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <workspace.h>


Classes | |
| struct | Options |
Public Member Functions | |
| Workspace (const Options &options) | |
| virtual void | Load (const std::vector< std::string > &image_names) |
| const Options & | GetOptions () const |
| const Model & | GetModel () const |
| virtual const Bitmap & | GetBitmap (const int image_idx) |
| virtual const DepthMap & | GetDepthMap (const int image_idx) |
| virtual const NormalMap & | GetNormalMap (const int image_idx) |
| std::string | GetBitmapPath (const int image_idx) const |
| std::string | GetDepthMapPath (const int image_idx) const |
| std::string | GetNormalMapPath (const int image_idx) const |
| bool | HasBitmap (const int image_idx) const |
| bool | HasDepthMap (const int image_idx) const |
| bool | HasNormalMap (const int image_idx) const |
Protected Member Functions | |
| std::string | GetFileName (const int image_idx) const |
Protected Attributes | |
| Options | options_ |
| Model | model_ |
Definition at line 21 of file workspace.h.
| colmap::mvs::Workspace::Workspace | ( | const Options & | options | ) |
Definition at line 41 of file workspace.cc.
|
virtual |
Reimplemented in colmap::mvs::CachedWorkspace.
Definition at line 119 of file workspace.cc.
| std::string colmap::mvs::Workspace::GetBitmapPath | ( | const int | image_idx | ) | const |
Definition at line 131 of file workspace.cc.
References colmap::mvs::Model::images, and model_.
Referenced by colmap::mvs::CachedWorkspace::GetBitmap(), HasBitmap(), and Load().
|
virtual |
Reimplemented in colmap::mvs::CachedWorkspace.
Definition at line 123 of file workspace.cc.
| std::string colmap::mvs::Workspace::GetDepthMapPath | ( | const int | image_idx | ) | const |
Definition at line 135 of file workspace.cc.
References GetFileName().
Referenced by colmap::mvs::CachedWorkspace::GetDepthMap(), HasDepthMap(), and Load().
|
protected |
Definition at line 57 of file workspace.cc.
References colmap::mvs::Model::GetImageName(), colmap::mvs::Workspace::Options::input_type, model_, options_, and colmap::StringPrintf().
Referenced by GetDepthMapPath(), and GetNormalMapPath().
|
inline |
Definition at line 50 of file workspace.h.
References model_.
Referenced by colmap::mvs::ImportPMVSWorkspace().
|
virtual |
Reimplemented in colmap::mvs::CachedWorkspace.
Definition at line 127 of file workspace.cc.
| std::string colmap::mvs::Workspace::GetNormalMapPath | ( | const int | image_idx | ) | const |
Definition at line 139 of file workspace.cc.
References GetFileName().
Referenced by colmap::mvs::CachedWorkspace::GetNormalMap(), HasNormalMap(), and Load().
|
inline |
Definition at line 48 of file workspace.h.
References options_.
Referenced by colmap::mvs::ImportPMVSWorkspace().
| bool colmap::mvs::Workspace::HasBitmap | ( | const int | image_idx | ) | const |
Definition at line 143 of file workspace.cc.
References colmap::ExistsFile(), and GetBitmapPath().
Referenced by Load().
| bool colmap::mvs::Workspace::HasDepthMap | ( | const int | image_idx | ) | const |
Definition at line 147 of file workspace.cc.
References colmap::ExistsFile(), and GetDepthMapPath().
Referenced by Load().
| bool colmap::mvs::Workspace::HasNormalMap | ( | const int | image_idx | ) | const |
Definition at line 151 of file workspace.cc.
References colmap::ExistsFile(), and GetNormalMapPath().
|
virtual |
Reimplemented in colmap::mvs::CachedWorkspace.
Definition at line 63 of file workspace.cc.
References colmap::ThreadPool::AddTask(), QtCompat::endl(), GetBitmapPath(), GetDepthMapPath(), colmap::GetEffectiveNumThreads(), colmap::mvs::Model::GetImageIdx(), GetNormalMapPath(), HasBitmap(), HasDepthMap(), height, colmap::mvs::Workspace::Options::image_as_rgb, colmap::mvs::Model::images, colmap::mvs::Workspace::Options::max_image_size, model_, colmap::mvs::Workspace::Options::num_threads, options_, colmap::Timer::PrintMinutes(), colmap::Timer::Start(), colmap::StringPrintf(), colmap::ThreadPool::Wait(), and width.
|
protected |
Definition at line 71 of file workspace.h.
Referenced by colmap::mvs::CachedWorkspace::GetBitmap(), GetBitmapPath(), colmap::mvs::CachedWorkspace::GetDepthMap(), GetFileName(), GetModel(), colmap::mvs::CachedWorkspace::GetNormalMap(), and Load().
|
protected |
Definition at line 70 of file workspace.h.
Referenced by colmap::mvs::CachedWorkspace::GetBitmap(), colmap::mvs::CachedWorkspace::GetDepthMap(), GetFileName(), colmap::mvs::CachedWorkspace::GetNormalMap(), GetOptions(), and Load().