25 #include <VisionX/gui-plugins/PrimitiveExtraction/ui_PrimitiveExtractionWidget.h>
33 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
35 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
37 #include <VisionX/interface/components/FakePointCloudProviderInterface.h>
38 #include <VisionX/interface/components/PointCloudSegmenter.h>
39 #include <VisionX/interface/components/PrimitiveMapper.h>
40 #include <VisionX/interface/components/AffordancePipelineVisualization.h>
42 #include <QListWidgetItem>
82 void loadSettings(QSettings* settings)
override;
87 void saveSettings(QSettings* settings)
override;
89 QPointer<QDialog> getConfigDialog(QWidget* parent = 0)
override;
91 void configured()
override;
99 return "VisionX.PrimitiveExtractionConfig";
105 void onInitComponent()
override;
110 void onConnectComponent()
override;
111 void onDisconnectComponent()
override;
114 void loadPointCloud();
116 void setParameters();
117 void visualizationOptionsChanged();
118 void applyPointCloudTransformation();
121 void applyAutoRotation();
124 void providersChanged();
130 Ui::PrimitiveExtractionWidget widget;
131 QPointer<PrimitiveExtractionConfigDialog> configDialog;
133 std::string pointCloudProviderName;
134 std::string pointCloudSegmenterName;
135 std::string primitiveExtractorName;
136 std::string pipelineVisualizationName;
137 std::string workingMemoryName;
139 visionx::PointCloudProviderInterfacePrx pointCloudProvider;
140 visionx::PointCloudSegmenterInterfacePrx pointCloudSegmenter;
141 visionx::PrimitiveMapperInterfacePrx primitiveExtractor;
142 AffordancePipelineVisualizationInterfacePrx pipelineVisualization;
143 memoryx::WorkingMemoryInterfacePrx workingMemory;