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

#include <matching.h>

Inheritance diagram for colmap::SiftGPUFeatureMatcher:
Collaboration diagram for colmap::SiftGPUFeatureMatcher:

Public Types

typedef internal::FeatureMatcherData Input
 
typedef internal::FeatureMatcherData Output
 
- Public Types inherited from colmap::Thread
enum  { STARTED_CALLBACK = INT_MIN , FINISHED_CALLBACK }
 

Public Member Functions

 SiftGPUFeatureMatcher (const SiftMatchingOptions &options, FeatureMatcherCache *cache, JobQueue< Input > *input_queue, JobQueue< Output > *output_queue)
 
- Public Member Functions inherited from colmap::FeatureMatcherThread
 FeatureMatcherThread (const SiftMatchingOptions &options, FeatureMatcherCache *cache)
 
void SetMaxNumMatches (const int max_num_matches)
 
- Public Member Functions inherited from colmap::Thread
 Thread ()
 
virtual ~Thread ()=default
 
virtual void Start ()
 
virtual void Stop ()
 
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

void Run () override
 
void GetDescriptorData (const int index, const image_t image_id, const FeatureDescriptors **descriptors_ptr)
 
- 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

JobQueue< Input > * input_queue_
 
JobQueue< Output > * output_queue_
 
std::unique_ptr< OpenGLContextManageropengl_context_
 
std::array< image_t, 2 > prev_uploaded_image_ids_
 
std::array< FeatureDescriptors, 2 > prev_uploaded_descriptors_
 
- Protected Attributes inherited from colmap::FeatureMatcherThread
SiftMatchingOptions options_
 
FeatureMatcherCachecache_
 

Detailed Description

Definition at line 235 of file matching.h.

Member Typedef Documentation

◆ Input

◆ Output

Constructor & Destructor Documentation

◆ SiftGPUFeatureMatcher()

colmap::SiftGPUFeatureMatcher::SiftGPUFeatureMatcher ( const SiftMatchingOptions options,
FeatureMatcherCache cache,
JobQueue< Input > *  input_queue,
JobQueue< Output > *  output_queue 
)

Member Function Documentation

◆ GetDescriptorData()

void colmap::SiftGPUFeatureMatcher::GetDescriptorData ( const int  index,
const image_t  image_id,
const FeatureDescriptors **  descriptors_ptr 
)
protected

◆ Run()

Member Data Documentation

◆ input_queue_

JobQueue<Input>* colmap::SiftGPUFeatureMatcher::input_queue_
protected

Definition at line 252 of file matching.h.

Referenced by Run().

◆ opengl_context_

std::unique_ptr<OpenGLContextManager> colmap::SiftGPUFeatureMatcher::opengl_context_
protected

Definition at line 255 of file matching.h.

Referenced by Run(), and SiftGPUFeatureMatcher().

◆ output_queue_

JobQueue<Output>* colmap::SiftGPUFeatureMatcher::output_queue_
protected

Definition at line 253 of file matching.h.

Referenced by Run().

◆ prev_uploaded_descriptors_

std::array<FeatureDescriptors, 2> colmap::SiftGPUFeatureMatcher::prev_uploaded_descriptors_
protected

Definition at line 259 of file matching.h.

Referenced by GetDescriptorData().

◆ prev_uploaded_image_ids_

std::array<image_t, 2> colmap::SiftGPUFeatureMatcher::prev_uploaded_image_ids_
protected

Definition at line 258 of file matching.h.

Referenced by GetDescriptorData(), and SiftGPUFeatureMatcher().


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