![]() |
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.
| TemplateAlignmentDialog::TemplateAlignmentDialog | ( | ecvMainAppInterface * | app | ) |
Default constructor.
References loadParamsFromPersistentSettings(), and onCloudChanged().
|
protected |
References ccHObject::find(), ccObject::isA(), and CV_TYPES::POINT_CLOUD.
Referenced by getEvaluationCloud(), getTemplate1Cloud(), and getTemplate2Cloud().
|
protected |
References ccObject::getName(), ccObject::getUniqueID(), and name.
Referenced by refreshCloudComboBox().
| ccPointCloud * TemplateAlignmentDialog::getEvaluationCloud | ( | ) |
Get evaluation point cloud.
References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.
Referenced by TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getFeatureRadius | ( | ) | const |
Returns the Feature Radius.
Referenced by TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getMaxCorrespondenceDistance | ( | ) | const |
Returns the Maximum Correspondence Distance.
Referenced by TemplateAlignment::getParametersFromDialog().
| int TemplateAlignmentDialog::getMaxIterations | ( | ) | const |
Returns the Maximum Iterations.
Referenced by TemplateAlignment::getParametersFromDialog().
| int TemplateAlignmentDialog::getMaxThreadCount | ( | ) | const |
Returns the max number of threads to use.
| float TemplateAlignmentDialog::getMinSampleDistance | ( | ) | const |
Returns the Minimum Sample Distance.
Referenced by TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getNormalRadius | ( | ) | const |
Returns the Normal Radius.
Referenced by TemplateAlignment::getParametersFromDialog().
| bool TemplateAlignmentDialog::getScales | ( | std::vector< float > & | scales | ) | const |
Returns input scales.
References e, cloudViewer::utility::floor(), and QtCompat::SkipEmptyParts.
Referenced by TemplateAlignment::getParametersFromDialog().
| ccPointCloud * TemplateAlignmentDialog::getTemplate1Cloud | ( | ) |
Get template #1 point cloud.
References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.
Referenced by TemplateAlignment::compute(), and TemplateAlignment::getParametersFromDialog().
| ccPointCloud * TemplateAlignmentDialog::getTemplate2Cloud | ( | ) |
Get template #2 point cloud.
References ecvMainAppInterface::dbRootObject(), getCloudFromCombo(), and m_app.
Referenced by TemplateAlignment::compute(), and TemplateAlignment::getParametersFromDialog().
| float TemplateAlignmentDialog::getVoxelGridLeafSize | ( | ) | const |
Referenced by TemplateAlignment::getParametersFromDialog().
| void TemplateAlignmentDialog::loadParamsFromPersistentSettings | ( | ) |
Loads parameters from persistent settings.
Referenced by TemplateAlignmentDialog().
|
protectedslot |
References validParameters().
Referenced by TemplateAlignmentDialog().
| void TemplateAlignmentDialog::refreshCloudComboBox | ( | ) |
| void TemplateAlignmentDialog::saveParamsToPersistentSettings | ( | ) |
Saves parameters to persistent settings.
Referenced by TemplateAlignment::openInputDialog().
|
protected |
Referenced by onCloudChanged().
|
protected |
Gives access to the application (data-base, UI, etc.)
Referenced by getEvaluationCloud(), getTemplate1Cloud(), getTemplate2Cloud(), and refreshCloudComboBox().