![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
3DMASC plugin 'classify' dialog More...
#include <qClassify3DMASCDialog.h>
Public Member Functions | |
| Classify3DMASCDialog (ecvMainAppInterface *app, bool trainMode=false) | |
| Default constructor. More... | |
| ~Classify3DMASCDialog () | |
| void | readSettings () |
| read settings More... | |
| void | writeSettings () |
| write settings More... | |
| void | setCloudRoles (const QList< QString > &roles, QString &corePointsLabel, const QMap< QString, QString > &rolesAndNames) |
| Sets the clouds roles. More... | |
| void | setComboBoxIndex (const QMap< QString, QString > &rolesAndNames, QLabel *label, const QMap< QString, QVariant > &namesAndUniqueIds, QComboBox *comboBox) |
| void | getClouds (QMap< QString, ccPointCloud * > &clouds) const |
| Returns the selected point clouds. More... | |
Protected Slots | |
| void | onCloudChanged (int) |
Protected Attributes | |
| ecvMainAppInterface * | m_app |
| Gives access to the application (data-base, UI, etc.) More... | |
3DMASC plugin 'classify' dialog
| Classify3DMASCDialog::Classify3DMASCDialog | ( | ecvMainAppInterface * | app, |
| bool | trainMode = false |
||
| ) |
Default constructor.
References ecvMainAppInterface::dbRootObject(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ccHObject::filterChildren(), m_app, name, onCloudChanged(), CV_TYPES::POINT_CLOUD, and readSettings().
| Classify3DMASCDialog::~Classify3DMASCDialog | ( | ) |
References writeSettings().
| void Classify3DMASCDialog::getClouds | ( | QMap< QString, ccPointCloud * > & | clouds | ) | const |
Returns the selected point clouds.
References ecvMainAppInterface::dbRootObject(), GetCloudFromCombo(), and m_app.
Referenced by q3DMASCPlugin::doClassifyAction(), and q3DMASCPlugin::doTrainAction().
|
protectedslot |
Referenced by Classify3DMASCDialog().
| void Classify3DMASCDialog::readSettings | ( | ) |
read settings
Referenced by Classify3DMASCDialog().
| void Classify3DMASCDialog::setCloudRoles | ( | const QList< QString > & | roles, |
| QString & | corePointsLabel, | ||
| const QMap< QString, QString > & | rolesAndNames | ||
| ) |
Sets the clouds roles.
References ecvMainAppInterface::dbRootObject(), ccHObject::filterChildren(), m_app, CV_TYPES::POINT_CLOUD, and setComboBoxIndex().
Referenced by q3DMASCPlugin::doClassifyAction(), and q3DMASCPlugin::doTrainAction().
| void Classify3DMASCDialog::setComboBoxIndex | ( | const QMap< QString, QString > & | rolesAndNames, |
| QLabel * | label, | ||
| const QMap< QString, QVariant > & | namesAndUniqueIds, | ||
| QComboBox * | comboBox | ||
| ) |
Preset the combo boxes if possible with the names specified in the parameter file
References name.
Referenced by setCloudRoles().
| void Classify3DMASCDialog::writeSettings | ( | ) |
write settings
Referenced by ~Classify3DMASCDialog().
|
protected |
Gives access to the application (data-base, UI, etc.)
Referenced by Classify3DMASCDialog(), getClouds(), and setCloudRoles().