Dialog for querying and downloading of object models. More...
#include "downloadobjectdialog.h"
#include "ui_downloadobjectdialog.h"
#include <re_object_recorder/qminizip.h>
#include <ros/service.h>
#include <re_srvs/QueryObjects.h>
#include <re_srvs/SearchObjects.h>
#include <re_srvs/GetObjectBinaryFile.h>
#include <QDebug>
#include <QFileDialog>
#include <QMessageBox>
#include <QtCore>
#include <QProgressDialog>
Go to the source code of this file.
Functions | |
bool | downloadObjectsServiceCall (re_srvs::GetObjectBinaryFileRequest &req, re_srvs::GetObjectBinaryFileResponse *resp) |
wrapper function for use with QFutureWatcher | |
bool | searchObjectsServiceCall (re_srvs::SearchObjectsRequest &req, re_srvs::SearchObjectsResponse *resp) |
wrapper function for use with QFutureWatcher | |
Variables | |
const QString | DOWNLOAD_SERVICE = "/re_comm/get_object_binary_file" |
const QString | QUERY_SERVICE = "/re_comm/search_objects" |
Dialog for querying and downloading of object models.
This file is part of the RoboEarth ROS re_object_detector_gui package.
It file was originally created for RoboEarth. The research leading to these results has received funding from the European Union Seventh Framework Programme FP7/2007-2013 under grant agreement no248942 RoboEarth.
Copyright (C) 2011 by by Daniel Di Marco, University of Stuttgart
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file downloadobjectdialog.cpp.
bool downloadObjectsServiceCall | ( | re_srvs::GetObjectBinaryFileRequest & | req, |
re_srvs::GetObjectBinaryFileResponse * | resp | ||
) |
wrapper function for use with QFutureWatcher
Definition at line 168 of file downloadobjectdialog.cpp.
bool searchObjectsServiceCall | ( | re_srvs::SearchObjectsRequest & | req, |
re_srvs::SearchObjectsResponse * | resp | ||
) |
wrapper function for use with QFutureWatcher
Definition at line 98 of file downloadobjectdialog.cpp.
const QString DOWNLOAD_SERVICE = "/re_comm/get_object_binary_file" |
Definition at line 62 of file downloadobjectdialog.cpp.
const QString QUERY_SERVICE = "/re_comm/search_objects" |
Definition at line 63 of file downloadobjectdialog.cpp.