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

#include <automatic_reconstruction.h>

Inheritance diagram for colmap::AutomaticReconstructionController:
[legend]
Collaboration diagram for colmap::AutomaticReconstructionController:
[legend]

Classes

struct  Options
 

Public Types

enum  DataType { DataType::INDIVIDUAL, DataType::VIDEO, DataType::INTERNET }
 
enum  Quality { Quality::LOW, Quality::MEDIUM, Quality::HIGH, Quality::EXTREME }
 
enum  Mesher { Mesher::POISSON, Mesher::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 Timer & GetTimer () 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_
 
ReconstructionManager * reconstruction_manager_
 
Thread * active_thread_
 

Member Enumeration Documentation

◆ DataType

Enumerator
INDIVIDUAL 
VIDEO 
INTERNET 

◆ Mesher

Enumerator
POISSON 
DELAUNAY 

◆ Quality

Enumerator
LOW 
MEDIUM 
HIGH 
EXTREME 

Constructor & Destructor Documentation

◆ AutomaticReconstructionController()

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

Member Function Documentation

◆ OnFusedPointsGenerated()

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

◆ OnMeshGenerated()

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

◆ OnTexturedMeshGenerated()

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

◆ RunDenseMapper()

◆ Stop()

void colmap::AutomaticReconstructionController::Stop ( )
overridevirtual

Reimplemented from colmap::Thread.

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

Member Data Documentation

◆ active_thread_

Thread* colmap::AutomaticReconstructionController::active_thread_
protected

Referenced by RunDenseMapper(), and Stop().

◆ option_manager_

OptionManager colmap::AutomaticReconstructionController::option_manager_
protected

Referenced by RunDenseMapper().

◆ options_

const Options colmap::AutomaticReconstructionController::options_
protected

Referenced by RunDenseMapper().

◆ reconstruction_manager_

ReconstructionManager* colmap::AutomaticReconstructionController::reconstruction_manager_
protected

Referenced by RunDenseMapper().


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