AffordancePipelineGuiConfigDialog.h
Go to the documentation of this file.
1/*
2* This file is part of ArmarX.
3*
4* ArmarX is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License version 2 as
6* published by the Free Software Foundation.
7*
8* ArmarX is distributed in the hope that it will be useful, but
9* WITHOUT ANY WARRANTY; without even the implied warranty of
10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11* GNU General Public License for more details.
12*
13* You should have received a copy of the GNU General Public License
14* along with this program. If not, see <http://www.gnu.org/licenses/>.
15*
16* @package VisionX
17* @author Peter Kaiser ( peter dot kaiser at kit dot edu)
18* @date 2016
19* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20* GNU General Public License
21*/
22
23#pragma once
24
25#include <QDialog>
26#include <QFileDialog>
27
31
33
34namespace Ui
35{
36 class AffordancePipelineGuiConfigDialog;
37}
38
39namespace armarx
40{
41 class AffordancePipelineGuiConfigDialog : public QDialog, virtual public ManagedIceObject
42 {
43 Q_OBJECT
44
45 public:
46 explicit AffordancePipelineGuiConfigDialog(QWidget* parent = 0);
48
49 // inherited from ManagedIceObject
50 std::string
51 getDefaultName() const override
52 {
53 return "AffordancePipelineGuiConfigDialog" + uuid;
54 }
55
56 void onInitComponent() override;
57 void onConnectComponent() override;
58 void onExitComponent() override;
59
60 std::string getPlatform();
61
62 std::vector<std::string> getProviderNames();
63 std::vector<std::string> getProviderDisplayNames();
64 std::vector<std::string> getFilteredProviderNames();
65 std::vector<std::string> getPipelineConfigurationFiles();
66
67 public slots:
68 void verifyConfig();
69
70 private:
71 Ui::AffordancePipelineGuiConfigDialog* ui;
72 std::string uuid;
73
74 IceProxyFinderBase* pointCloudSegmenterProxyFinder;
75 IceProxyFinderBase* primitiveExtractorProxyFinder;
76 IceProxyFinderBase* affordanceExtractionProxyFinder;
77 IceProxyFinderBase* pipelineVisualizationProxyFinder;
78 IceProxyFinderBase* robotStateComponentProxyFinder;
79
81 };
82} // namespace armarx
void onInitComponent() override
Pure virtual hook for the subclass.
void onConnectComponent() override
Pure virtual hook for the subclass.
std::string getDefaultName() const override
Retrieve default name of component.
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
ManagedIceObject(ManagedIceObject const &other)
ArmarX Headers.
This file offers overloads of toIce() and fromIce() functions for STL container types.