ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
CorrespondenceMatchingDialog Class Reference

CANUPO plugin's training dialog. More...

#include <CorrespondenceMatchingDialog.h>

Inheritance diagram for CorrespondenceMatchingDialog:
[legend]
Collaboration diagram for CorrespondenceMatchingDialog:
[legend]

Public Member Functions

 CorrespondenceMatchingDialog (ecvMainAppInterface *app)
 Default constructor. More...
 
ccPointCloud * getModel1Cloud ()
 Get model #1 point cloud. More...
 
ccPointCloud * getModel2Cloud ()
 Get model #2 point cloud. More...
 
ccPointCloud * getModelCloudByIndex (int index)
 
ccPointCloud * getEvaluationCloud ()
 Get evaluation point cloud. More...
 
void loadParamsFromPersistentSettings ()
 Loads parameters from persistent settings. More...
 
void saveParamsToPersistentSettings ()
 Saves parameters to persistent settings. More...
 
bool getScales (std::vector< float > &scales) const
 Returns input scales. More...
 
int getMaxThreadCount () const
 Returns the max number of threads to use. More...
 
float getVoxelGridLeafSize () const
 
float getModelSearchRadius () const
 Returns the Model Search Radius. More...
 
float getSceneSearchRadius () const
 Returns the Scene Search Radius. More...
 
float getShotDescriptorRadius () const
 Returns the Shot Descriptor Radius. More...
 
float getNormalKSearch () const
 Returns the normal KSearch. More...
 
bool getVerificationFlag () const
 
bool isGCActivated () const
 
float getGcConsensusSetResolution () const
 
float getGcMinClusterSize () const
 
float getHoughLRFRadius () const
 
float getHoughBinSize () const
 
float getHoughThreshold () const
 
void refreshCloudComboBox ()
 

Protected Slots

void onCloudChanged (int)
 

Protected Member Functions

bool validParameters () const
 
QString getEntityName (ccHObject *obj)
 
ccPointCloud * getCloudFromCombo (QComboBox *comboBox, ccHObject *dbRoot)
 

Protected Attributes

ecvMainAppInterface * m_app
 Gives access to the application (data-base, UI, etc.) More...
 

Detailed Description

CANUPO plugin's training dialog.

Constructor & Destructor Documentation

◆ CorrespondenceMatchingDialog()

CorrespondenceMatchingDialog::CorrespondenceMatchingDialog ( ecvMainAppInterface *  app)

Default constructor.

References loadParamsFromPersistentSettings(), and onCloudChanged().

Member Function Documentation

◆ getCloudFromCombo()

ccPointCloud * CorrespondenceMatchingDialog::getCloudFromCombo ( QComboBox *  comboBox,
ccHObject *  dbRoot 
)
protected

◆ getEntityName()

QString CorrespondenceMatchingDialog::getEntityName ( ccHObject *  obj)
protected

◆ getEvaluationCloud()

ccPointCloud * CorrespondenceMatchingDialog::getEvaluationCloud ( )

◆ getGcConsensusSetResolution()

float CorrespondenceMatchingDialog::getGcConsensusSetResolution ( ) const

◆ getGcMinClusterSize()

float CorrespondenceMatchingDialog::getGcMinClusterSize ( ) const

◆ getHoughBinSize()

float CorrespondenceMatchingDialog::getHoughBinSize ( ) const

◆ getHoughLRFRadius()

float CorrespondenceMatchingDialog::getHoughLRFRadius ( ) const

◆ getHoughThreshold()

float CorrespondenceMatchingDialog::getHoughThreshold ( ) const

◆ getMaxThreadCount()

int CorrespondenceMatchingDialog::getMaxThreadCount ( ) const

Returns the max number of threads to use.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getModel1Cloud()

ccPointCloud * CorrespondenceMatchingDialog::getModel1Cloud ( )

Get model #1 point cloud.

References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.

Referenced by getModelCloudByIndex().

◆ getModel2Cloud()

ccPointCloud * CorrespondenceMatchingDialog::getModel2Cloud ( )

Get model #2 point cloud.

References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.

Referenced by getModelCloudByIndex().

◆ getModelCloudByIndex()

ccPointCloud * CorrespondenceMatchingDialog::getModelCloudByIndex ( int  index)

◆ getModelSearchRadius()

float CorrespondenceMatchingDialog::getModelSearchRadius ( ) const

Returns the Model Search Radius.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getNormalKSearch()

float CorrespondenceMatchingDialog::getNormalKSearch ( ) const

Returns the normal KSearch.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getScales()

bool CorrespondenceMatchingDialog::getScales ( std::vector< float > &  scales) const

◆ getSceneSearchRadius()

float CorrespondenceMatchingDialog::getSceneSearchRadius ( ) const

Returns the Scene Search Radius.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getShotDescriptorRadius()

float CorrespondenceMatchingDialog::getShotDescriptorRadius ( ) const

Returns the Shot Descriptor Radius.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getVerificationFlag()

bool CorrespondenceMatchingDialog::getVerificationFlag ( ) const

◆ getVoxelGridLeafSize()

float CorrespondenceMatchingDialog::getVoxelGridLeafSize ( ) const

◆ isGCActivated()

bool CorrespondenceMatchingDialog::isGCActivated ( ) const

◆ loadParamsFromPersistentSettings()

void CorrespondenceMatchingDialog::loadParamsFromPersistentSettings ( )

Loads parameters from persistent settings.

Referenced by CorrespondenceMatchingDialog().

◆ onCloudChanged

void CorrespondenceMatchingDialog::onCloudChanged ( int  dummy)
protectedslot

◆ refreshCloudComboBox()

◆ saveParamsToPersistentSettings()

void CorrespondenceMatchingDialog::saveParamsToPersistentSettings ( )

Saves parameters to persistent settings.

Referenced by CorrespondenceMatching::openInputDialog().

◆ validParameters()

bool CorrespondenceMatchingDialog::validParameters ( ) const
protected

Referenced by onCloudChanged().

Member Data Documentation

◆ m_app

ecvMainAppInterface* CorrespondenceMatchingDialog::m_app
protected

Gives access to the application (data-base, UI, etc.)

Referenced by getEvaluationCloud(), getModel1Cloud(), getModel2Cloud(), and refreshCloudComboBox().


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