24 #include "ui_AffordancePipelineGuiConfigDialog.h"
27 #include <QPushButton>
28 #include <QMessageBox>
32 #include <VisionX/interface/core/PointCloudProviderInterface.h>
33 #include <VisionX/interface/core/PointCloudProcessorInterface.h>
34 #include <VisionX/interface/components/PointCloudSegmenter.h>
35 #include <VisionX/interface/components/PrimitiveMapper.h>
36 #include <VisionX/interface/components/AffordanceExtraction.h>
37 #include <VisionX/interface/components/AffordancePipelineVisualization.h>
39 #include <RobotAPI/interface/core/RobotState.h>
41 #include <boost/algorithm/string/split.hpp>
42 #include <boost/algorithm/string.hpp>
44 #include <IceUtil/UUID.h>
55 connect(this->ui->buttonBox, SIGNAL(accepted()),
this, SLOT(
verifyConfig()));
56 ui->buttonBox->button(QDialogButtonBox::Ok)->setDefault(
true);
70 ui->gridLayout->addWidget(pointCloudSegmenterProxyFinder, 3, 1, 1, 2);
71 ui->gridLayout->addWidget(primitiveExtractorProxyFinder, 4, 1, 1, 2);
72 ui->gridLayout->addWidget(affordanceExtractionProxyFinder, 5, 1, 1, 2);
73 ui->gridLayout->addWidget(pipelineVisualizationProxyFinder, 6, 1, 1, 2);
74 ui->gridLayout->addWidget(robotStateComponentProxyFinder, 7, 1, 1, 2);
97 QObject::disconnect();
102 return ui->lineEditPlatform->text().toStdString();
107 std::vector<std::string> result;
108 std::string
s = ui->lineEditProviderNames->text().toStdString();
115 std::vector<std::string> result;
116 std::string
s = ui->lineEditProviderDisplayNames->text().toStdString();
123 std::vector<std::string> result;
124 std::string
s = ui->lineEditFilteredProviderNames->text().toStdString();
131 std::vector<std::string> result;
132 std::string
s = ui->lineEditConfigFiles->text().toStdString();
145 if (!l1 || !l2 || !l3 || !l4 || !l5)
147 QMessageBox::critical(
this,
"Invalid Configuration",
"The proxy names must not be empty");
153 QMessageBox::critical(
this,
"Invalid Configuration",
"The provider name lists must be of equal size");