ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::AutomaticReconstructionController Class Reference

#include <AutomaticReconstructionController.h>

Inheritance diagram for cloudViewer::AutomaticReconstructionController:
Collaboration diagram for cloudViewer::AutomaticReconstructionController:

Classes

struct  Options
 

Public Member Functions

 AutomaticReconstructionController (const Options &options, colmap::ReconstructionManager *reconstruction_manager)
 
- Public Member Functions inherited from colmap::AutomaticReconstructionController
 AutomaticReconstructionController (const Options &options, ReconstructionManager *reconstruction_manager)
 
void Stop () override
 
- Public Member Functions inherited from colmap::Thread
 Thread ()
 
virtual ~Thread ()=default
 
virtual void Start ()
 
virtual void Pause ()
 
virtual void Resume ()
 
virtual void Wait ()
 
bool IsStarted ()
 
bool IsStopped ()
 
bool IsPaused ()
 
bool IsRunning ()
 
bool IsFinished ()
 
void BlockIfPaused ()
 
bool CheckValidSetup ()
 
void AddCallback (const int id, const std::function< void()> &func)
 
const TimerGetTimer () const
 

Public Attributes

std::vector< std::vector< colmap::PlyPoint > > fused_points_
 
std::vector< std::string > meshing_paths_
 
std::vector< std::string > textured_paths_
 
bool texturing_success_ = false
 

Protected Member Functions

void OnFusedPointsGenerated (size_t reconstruction_idx, const std::vector< colmap::PlyPoint > &points) override
 
void OnMeshGenerated (size_t reconstruction_idx, const std::string &mesh_path) override
 
void OnTexturedMeshGenerated (size_t reconstruction_idx, const std::string &textured_path) override
 
void RunDenseMapper () override
 
- Protected Member Functions inherited from colmap::Thread
void RegisterCallback (const int id)
 
void Callback (const int id) const
 
std::thread::id GetThreadId () const
 
void SignalValidSetup ()
 
void SignalInvalidSetup ()
 

Additional Inherited Members

- Public Types inherited from colmap::AutomaticReconstructionController
enum class  DataType { INDIVIDUAL , VIDEO , INTERNET }
 
enum class  Quality { LOW , MEDIUM , HIGH , EXTREME }
 
enum class  Mesher { POISSON , DELAUNAY }
 
- Public Types inherited from colmap::Thread
enum  { STARTED_CALLBACK = INT_MIN , FINISHED_CALLBACK }
 
- Protected Attributes inherited from colmap::AutomaticReconstructionController
const Options options_
 
OptionManager option_manager_
 
ReconstructionManagerreconstruction_manager_
 
Threadactive_thread_
 

Detailed Description

Definition at line 31 of file AutomaticReconstructionController.h.

Constructor & Destructor Documentation

◆ AutomaticReconstructionController()

cloudViewer::AutomaticReconstructionController::AutomaticReconstructionController ( const Options options,
colmap::ReconstructionManager reconstruction_manager 
)

Definition at line 16 of file AutomaticReconstructionController.cpp.

Member Function Documentation

◆ OnFusedPointsGenerated()

void cloudViewer::AutomaticReconstructionController::OnFusedPointsGenerated ( size_t  reconstruction_idx,
const std::vector< colmap::PlyPoint > &  points 
)
overrideprotectedvirtual

Reimplemented from colmap::AutomaticReconstructionController.

Definition at line 39 of file AutomaticReconstructionController.cpp.

References fused_points_, and points.

◆ OnMeshGenerated()

void cloudViewer::AutomaticReconstructionController::OnMeshGenerated ( size_t  reconstruction_idx,
const std::string &  mesh_path 
)
overrideprotectedvirtual

Reimplemented from colmap::AutomaticReconstructionController.

Definition at line 46 of file AutomaticReconstructionController.cpp.

References meshing_paths_.

◆ OnTexturedMeshGenerated()

void cloudViewer::AutomaticReconstructionController::OnTexturedMeshGenerated ( size_t  reconstruction_idx,
const std::string &  textured_path 
)
overrideprotectedvirtual

◆ RunDenseMapper()

void cloudViewer::AutomaticReconstructionController::RunDenseMapper ( )
overrideprotectedvirtual

Member Data Documentation

◆ fused_points_

std::vector<std::vector<colmap::PlyPoint> > cloudViewer::AutomaticReconstructionController::fused_points_

◆ meshing_paths_

std::vector<std::string> cloudViewer::AutomaticReconstructionController::meshing_paths_

◆ textured_paths_

std::vector<std::string> cloudViewer::AutomaticReconstructionController::textured_paths_

◆ texturing_success_

bool cloudViewer::AutomaticReconstructionController::texturing_success_ = false

The documentation for this class was generated from the following files: