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

#include <automatic_reconstruction.h>

Inheritance diagram for colmap::AutomaticReconstructionController:
Collaboration diagram for colmap::AutomaticReconstructionController:

Classes

struct  Options
 

Public Types

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 }
 

Public Member Functions

 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
 

Protected Member Functions

virtual void RunDenseMapper ()
 
virtual void OnFusedPointsGenerated (size_t reconstruction_idx, const std::vector< PlyPoint > &points)
 
virtual void OnMeshGenerated (size_t reconstruction_idx, const std::string &mesh_path)
 
virtual void OnTexturedMeshGenerated (size_t reconstruction_idx, const std::string &textured_path)
 
- 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 ()
 

Protected Attributes

const Options options_
 
OptionManager option_manager_
 
ReconstructionManagerreconstruction_manager_
 
Threadactive_thread_
 

Detailed Description

Definition at line 19 of file automatic_reconstruction.h.

Member Enumeration Documentation

◆ DataType

Enumerator
INDIVIDUAL 
VIDEO 
INTERNET 

Definition at line 21 of file automatic_reconstruction.h.

◆ Mesher

Enumerator
POISSON 
DELAUNAY 

Definition at line 23 of file automatic_reconstruction.h.

◆ Quality

Enumerator
LOW 
MEDIUM 
HIGH 
EXTREME 

Definition at line 22 of file automatic_reconstruction.h.

Constructor & Destructor Documentation

◆ AutomaticReconstructionController()

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

Definition at line 48 of file automatic_reconstruction.cc.

Member Function Documentation

◆ OnFusedPointsGenerated()

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

Reimplemented in cloudViewer::AutomaticReconstructionController.

Definition at line 96 of file automatic_reconstruction.h.

Referenced by RunDenseMapper().

◆ OnMeshGenerated()

virtual void colmap::AutomaticReconstructionController::OnMeshGenerated ( size_t  reconstruction_idx,
const std::string &  mesh_path 
)
inlineprotectedvirtual

Reimplemented in cloudViewer::AutomaticReconstructionController.

Definition at line 98 of file automatic_reconstruction.h.

Referenced by RunDenseMapper().

◆ OnTexturedMeshGenerated()

virtual void colmap::AutomaticReconstructionController::OnTexturedMeshGenerated ( size_t  reconstruction_idx,
const std::string &  textured_path 
)
inlineprotectedvirtual

Reimplemented in cloudViewer::AutomaticReconstructionController.

Definition at line 100 of file automatic_reconstruction.h.

Referenced by RunDenseMapper().

◆ RunDenseMapper()

void colmap::AutomaticReconstructionController::RunDenseMapper ( )
protectedvirtual

◆ Stop()

void colmap::AutomaticReconstructionController::Stop ( )
overridevirtual

Reimplemented from colmap::Thread.

Definition at line 159 of file automatic_reconstruction.cc.

References active_thread_, and colmap::Thread::Stop().

Member Data Documentation

◆ active_thread_

Thread* colmap::AutomaticReconstructionController::active_thread_
protected

Definition at line 107 of file automatic_reconstruction.h.

Referenced by RunDenseMapper(), and Stop().

◆ option_manager_

OptionManager colmap::AutomaticReconstructionController::option_manager_
protected

Definition at line 105 of file automatic_reconstruction.h.

Referenced by RunDenseMapper().

◆ options_

const Options colmap::AutomaticReconstructionController::options_
protected

Definition at line 104 of file automatic_reconstruction.h.

Referenced by RunDenseMapper().

◆ reconstruction_manager_

ReconstructionManager* colmap::AutomaticReconstructionController::reconstruction_manager_
protected

Definition at line 106 of file automatic_reconstruction.h.

Referenced by RunDenseMapper().


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