25 #include <VisionX/gui-plugins/PointCloudViewer/ui_SaveDialog.h>
37 connect(ui->pushButton, SIGNAL(pressed()),
this, SLOT(
openFile()));
40 fileDialog.setNameFilter(tr(
"Point Clouds (*.pcd)"));
41 fileDialog.setAcceptMode(QFileDialog::AcceptSave);
51 this->ui->widget->getDisplay()->getRootNode()->addChild(cloud);
52 this->ui->widget->getDisplay()->cameraViewAll();
57 this->ui->widget->getDisplay()->getRootNode()->removeAllChildren();
62 return ui->lineEdit->text().toStdString();
67 if (fileDialog.exec())
69 ui->lineEdit->setText(fileDialog.selectedFiles()[0]);