Files
q3DMASC/qClassify3DMASCDialog.h
T

59 lines
2.0 KiB
C++
Raw Normal View History

2018-11-04 23:31:48 +01:00
#pragma once
//##########################################################################
//# #
//# CLOUDCOMPARE PLUGIN: q3DMASC #
//# #
//# This program is free software; you can redistribute it and/or modify #
//# it under the terms of the GNU General Public License as published by #
//# the Free Software Foundation; version 2 or later of the License. #
//# #
//# This program is distributed in the hope that it will be useful, #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU General Public License for more details. #
//# #
//# COPYRIGHT: Dimitri Lague / CNRS / UEB #
//# #
//##########################################################################
//Qt
#include <QDialog>
#include <ui_Classify3DMASCDialog.h>
class ccMainAppInterface;
class ccPointCloud;
//! 3DMASC plugin 'classify' dialog
class Classify3DMASCDialog : public QDialog, public Ui::Classify3DMASCDialog
{
Q_OBJECT
public:
//! Default constructor
2019-01-21 00:10:47 +01:00
Classify3DMASCDialog(ccMainAppInterface* app, bool trainMode = false);
2018-11-04 23:31:48 +01:00
//! read settings
void readSettings();
//! write settings
void writeSettings();
2018-11-04 23:31:48 +01:00
//! Sets the clouds roles
2019-03-26 14:28:27 +01:00
void setCloudRoles(const QList<QString>& roles, QString corePointsLabel);
2018-11-04 23:31:48 +01:00
2019-03-25 18:45:28 +01:00
//! Returns the selected point clouds
2022-10-27 09:19:52 +02:00
void getClouds(QMap<QString, ccPointCloud*>& clouds) const;
2018-11-04 23:31:48 +01:00
protected slots:
void onCloudChanged(int);
protected:
//! Gives access to the application (data-base, UI, etc.)
ccMainAppInterface* m_app;
};