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:
Collaboration diagram for CorrespondenceMatchingDialog:

Public Member Functions

 CorrespondenceMatchingDialog (ecvMainAppInterface *app)
 Default constructor. More...
 
ccPointCloudgetModel1Cloud ()
 Get model #1 point cloud. More...
 
ccPointCloudgetModel2Cloud ()
 Get model #2 point cloud. More...
 
ccPointCloudgetModelCloudByIndex (int index)
 
ccPointCloudgetEvaluationCloud ()
 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)
 
ccPointCloudgetCloudFromCombo (QComboBox *comboBox, ccHObject *dbRoot)
 

Protected Attributes

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

Detailed Description

CANUPO plugin's training dialog.

Definition at line 20 of file CorrespondenceMatchingDialog.h.

Constructor & Destructor Documentation

◆ CorrespondenceMatchingDialog()

CorrespondenceMatchingDialog::CorrespondenceMatchingDialog ( ecvMainAppInterface app)

Default constructor.

Definition at line 28 of file CorrespondenceMatchingDialog.cpp.

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 ( )

Get evaluation point cloud.

Definition at line 242 of file CorrespondenceMatchingDialog.cpp.

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

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ 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.

Definition at line 110 of file CorrespondenceMatchingDialog.cpp.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getModel1Cloud()

ccPointCloud * CorrespondenceMatchingDialog::getModel1Cloud ( )

Get model #1 point cloud.

Definition at line 210 of file CorrespondenceMatchingDialog.cpp.

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

Referenced by getModelCloudByIndex().

◆ getModel2Cloud()

ccPointCloud * CorrespondenceMatchingDialog::getModel2Cloud ( )

Get model #2 point cloud.

Definition at line 219 of file CorrespondenceMatchingDialog.cpp.

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.

Definition at line 118 of file CorrespondenceMatchingDialog.cpp.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getNormalKSearch()

float CorrespondenceMatchingDialog::getNormalKSearch ( ) const

Returns the normal KSearch.

Definition at line 130 of file CorrespondenceMatchingDialog.cpp.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getScales()

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

◆ getSceneSearchRadius()

float CorrespondenceMatchingDialog::getSceneSearchRadius ( ) const

Returns the Scene Search Radius.

Definition at line 122 of file CorrespondenceMatchingDialog.cpp.

Referenced by CorrespondenceMatching::getParametersFromDialog().

◆ getShotDescriptorRadius()

float CorrespondenceMatchingDialog::getShotDescriptorRadius ( ) const

Returns the Shot Descriptor Radius.

Definition at line 126 of file CorrespondenceMatchingDialog.cpp.

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.

Definition at line 247 of file CorrespondenceMatchingDialog.cpp.

Referenced by CorrespondenceMatchingDialog().

◆ onCloudChanged

void CorrespondenceMatchingDialog::onCloudChanged ( int  dummy)
protectedslot

Definition at line 206 of file CorrespondenceMatchingDialog.cpp.

References validParameters().

Referenced by CorrespondenceMatchingDialog().

◆ refreshCloudComboBox()

◆ saveParamsToPersistentSettings()

void CorrespondenceMatchingDialog::saveParamsToPersistentSettings ( )

Saves parameters to persistent settings.

Definition at line 286 of file CorrespondenceMatchingDialog.cpp.

Referenced by CorrespondenceMatching::openInputDialog().

◆ validParameters()

bool CorrespondenceMatchingDialog::validParameters ( ) const
protected

Definition at line 89 of file CorrespondenceMatchingDialog.cpp.

Referenced by onCloudChanged().

Member Data Documentation

◆ m_app

ecvMainAppInterface* CorrespondenceMatchingDialog::m_app
protected

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

Definition at line 77 of file CorrespondenceMatchingDialog.h.

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


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