![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
CANUPO plugin's training dialog. More...
#include <TemplateAlignmentDialog.h>


Public Member Functions | |
| TemplateAlignmentDialog (ecvMainAppInterface *app) | |
| Default constructor. More... | |
| ccPointCloud * | getTemplate1Cloud () |
| Get template #1 point cloud. More... | |
| ccPointCloud * | getTemplate2Cloud () |
| Get template #2 point cloud. More... | |
| 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... | |
| int | getMaxIterations () const |
| Returns the Maximum Iterations. More... | |
| float | getVoxelGridLeafSize () const |
| float | getNormalRadius () const |
| Returns the Normal Radius. More... | |
| float | getFeatureRadius () const |
| Returns the Feature Radius. More... | |
| float | getMinSampleDistance () const |
| Returns the Minimum Sample Distance. More... | |
| float | getMaxCorrespondenceDistance () const |
| Returns the Maximum Correspondence Distance. More... | |
| 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... | |
CANUPO plugin's training dialog.
Definition at line 20 of file TemplateAlignmentDialog.h.
| TemplateAlignmentDialog::TemplateAlignmentDialog | ( | ecvMainAppInterface * | app | ) |
Default constructor.
Definition at line 28 of file TemplateAlignmentDialog.cpp.
References loadParamsFromPersistentSettings(), and onCloudChanged().
|
protected |
Definition at line 278 of file TemplateAlignmentDialog.cpp.
References ccHObject::find(), ccObject::isA(), and CV_TYPES::POINT_CLOUD.
Referenced by getEvaluationCloud(), getTemplate1Cloud(), and getTemplate2Cloud().
|
protected |
Definition at line 265 of file TemplateAlignmentDialog.cpp.
References ccObject::getName(), ccObject::getUniqueID(), and name.
Referenced by refreshCloudComboBox().
| ccPointCloud * TemplateAlignmentDialog::getEvaluationCloud | ( | ) |
Get evaluation point cloud.
Definition at line 204 of file TemplateAlignmentDialog.cpp.
References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.
Referenced by TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getFeatureRadius | ( | ) | const |
Returns the Feature Radius.
Definition at line 117 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getMaxCorrespondenceDistance | ( | ) | const |
Returns the Maximum Correspondence Distance.
Definition at line 125 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::getParametersFromDialog().
| int TemplateAlignmentDialog::getMaxIterations | ( | ) | const |
Returns the Maximum Iterations.
Definition at line 130 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::getParametersFromDialog().
| int TemplateAlignmentDialog::getMaxThreadCount | ( | ) | const |
Returns the max number of threads to use.
Definition at line 109 of file TemplateAlignmentDialog.cpp.
| float TemplateAlignmentDialog::getMinSampleDistance | ( | ) | const |
Returns the Minimum Sample Distance.
Definition at line 121 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getNormalRadius | ( | ) | const |
Returns the Normal Radius.
Definition at line 113 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::getParametersFromDialog().
| bool TemplateAlignmentDialog::getScales | ( | std::vector< float > & | scales | ) | const |
Returns input scales.
Definition at line 142 of file TemplateAlignmentDialog.cpp.
References cloudViewer::utility::floor(), and QtCompat::SkipEmptyParts.
Referenced by TemplateAlignment::getParametersFromDialog().
| ccPointCloud * TemplateAlignmentDialog::getTemplate1Cloud | ( | ) |
Get template #1 point cloud.
Definition at line 186 of file TemplateAlignmentDialog.cpp.
References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.
Referenced by TemplateAlignment::compute(), and TemplateAlignment::getParametersFromDialog().
| ccPointCloud * TemplateAlignmentDialog::getTemplate2Cloud | ( | ) |
Get template #2 point cloud.
Definition at line 195 of file TemplateAlignmentDialog.cpp.
References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.
Referenced by TemplateAlignment::compute(), and TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getVoxelGridLeafSize | ( | ) | const |
Definition at line 134 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::getParametersFromDialog().
| void TemplateAlignmentDialog::loadParamsFromPersistentSettings | ( | ) |
Loads parameters from persistent settings.
Definition at line 209 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignmentDialog().
|
protectedslot |
Definition at line 182 of file TemplateAlignmentDialog.cpp.
References validParameters().
Referenced by TemplateAlignmentDialog().
| void TemplateAlignmentDialog::refreshCloudComboBox | ( | ) |
Definition at line 49 of file TemplateAlignmentDialog.cpp.
References ecvMainAppInterface::dbRootObject(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ccHObject::filterChildren(), getEntityName(), m_app, name, and CV_TYPES::POINT_CLOUD.
Referenced by TemplateAlignment::openInputDialog().
| void TemplateAlignmentDialog::saveParamsToPersistentSettings | ( | ) |
Saves parameters to persistent settings.
Definition at line 248 of file TemplateAlignmentDialog.cpp.
Referenced by TemplateAlignment::openInputDialog().
|
protected |
Definition at line 88 of file TemplateAlignmentDialog.cpp.
Referenced by onCloudChanged().
|
protected |
Gives access to the application (data-base, UI, etc.)
Definition at line 66 of file TemplateAlignmentDialog.h.
Referenced by getEvaluationCloud(), getTemplate1Cloud(), getTemplate2Cloud(), and refreshCloudComboBox().