#include <mainwindow.h>
Public Slots | |
void | btnAddTopPose_clicked () |
void | btnCapture_clicked () |
void | btnClearTopPose_clicked () |
void | btnDeleteTopPose_clicked () |
void | btnPossibleSolutions_Left_clicked () |
void | btnPossibleSolutions_Right_clicked () |
void | btnStartPTUCapture_clicked () |
void | chk_avgData_stateChanged (bool state) |
void | chk_edges_stateChanged (bool state) |
void | chk_filteredData_stateChanged (bool state) |
void | chk_rawData_stateChanged (bool state) |
void | chk_segments_stateChanged (bool state) |
void | radio_flat_stateChanged (bool state) |
void | radio_polar_stateChanged (bool state) |
void | trianglesFound (std::vector< Eigen::Vector2d, Eigen::aligned_allocator< Eigen::Vector2d > > *triangles) |
Signals | |
void | newTransform_Laserscan (const Eigen::Matrix4d &transform, double distanceToTop) |
void | setCurves (unsigned int showData=1) |
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
Protected Member Functions | |
void | addMatrixRow (QString *text, double value) |
void | calculateTransformationFrames () |
void | resizeEvent (QResizeEvent *event) |
void | showPossibleSolutions () |
void | toggleCaptureMode () |
Protected Attributes | |
QPushButton * | btnAddTopPose |
QPushButton * | btnCapture |
QPushButton * | btnClearTopPose |
QPushButton * | btnDeleteTopPose |
QPushButton * | btnPossibleSolutions_Left |
QPushButton * | btnPossibleSolutions_Right |
QPushButton * | btnStartPTUCapture |
boost::shared_ptr < Calibration_Object > | calibrationObject |
std::vector< Eigen::Vector3d, Eigen::aligned_allocator < Eigen::Vector3d > > * | capturedTopPoses |
QCheckBox * | chk_avgData |
QCheckBox * | chk_edges |
QCheckBox * | chk_filteredData |
QCheckBox * | chk_rawdata |
QCheckBox * | chk_segments |
LaserScanThread * | currentThread |
std::vector< Eigen::Vector2d, Eigen::aligned_allocator < Eigen::Vector2d > > * | currentTriangles |
boost::shared_ptr < FeasibilityChecker > | feasibilityChecker |
bool | isCapturing |
QLabel * | lblCurrentTriangle |
QLabel * | lblPossibleSolutions_Position |
QLabel * | lblSolutionMatrix |
QLabel * | lblSolutions |
QLabel * | lblTopPoseVariance |
QLabel * | lblTriangles |
QListWidget * | lstTopPose |
boost::shared_ptr < MarkerPublisher > | markerPublisher |
int | possibleSolutions_Position |
QRadioButton * | radio_flat |
QRadioButton * | radio_polar |
std::vector< Eigen::Vector2d, Eigen::aligned_allocator < Eigen::Vector2d > > * | selectedTriangle |
unsigned int | showData |
std::vector< Eigen::Matrix4d, Eigen::aligned_allocator < Eigen::Matrix4d > > * | solutionFrames |
boost::shared_ptr < ResectionSolver > | solver |
boost::shared_ptr< TF_Visualizer > | tfVisualizer |
boost::shared_ptr < Transformation_Publisher > | transformationPublisher |
LaserScanWidget * | widget |
Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
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 HOLDER 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 at line 43 of file mainwindow.h.
MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) | [explicit] |
Definition at line 24 of file mainwindow.cpp.
void MainWindow::addMatrixRow | ( | QString * | text, |
double | value | ||
) | [protected] |
Definition at line 556 of file mainwindow.cpp.
void MainWindow::btnAddTopPose_clicked | ( | ) | [slot] |
Definition at line 330 of file mainwindow.cpp.
void MainWindow::btnCapture_clicked | ( | ) | [slot] |
Definition at line 325 of file mainwindow.cpp.
void MainWindow::btnClearTopPose_clicked | ( | ) | [slot] |
Definition at line 355 of file mainwindow.cpp.
void MainWindow::btnDeleteTopPose_clicked | ( | ) | [slot] |
Definition at line 343 of file mainwindow.cpp.
void MainWindow::btnPossibleSolutions_Left_clicked | ( | ) | [slot] |
Definition at line 360 of file mainwindow.cpp.
void MainWindow::btnPossibleSolutions_Right_clicked | ( | ) | [slot] |
Definition at line 366 of file mainwindow.cpp.
void MainWindow::btnStartPTUCapture_clicked | ( | ) | [slot] |
Definition at line 372 of file mainwindow.cpp.
void MainWindow::calculateTransformationFrames | ( | ) | [protected] |
Definition at line 459 of file mainwindow.cpp.
void MainWindow::chk_avgData_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 292 of file mainwindow.cpp.
void MainWindow::chk_edges_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 310 of file mainwindow.cpp.
void MainWindow::chk_filteredData_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 298 of file mainwindow.cpp.
void MainWindow::chk_rawData_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 286 of file mainwindow.cpp.
void MainWindow::chk_segments_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 304 of file mainwindow.cpp.
void MainWindow::newTransform_Laserscan | ( | const Eigen::Matrix4d & | transform, |
double | distanceToTop | ||
) | [signal] |
void MainWindow::radio_flat_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 320 of file mainwindow.cpp.
void MainWindow::radio_polar_stateChanged | ( | bool | state | ) | [slot] |
Definition at line 316 of file mainwindow.cpp.
void MainWindow::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
Definition at line 251 of file mainwindow.cpp.
void MainWindow::setCurves | ( | unsigned int | showData = 1 | ) | [signal] |
void MainWindow::showPossibleSolutions | ( | ) | [protected] |
Definition at line 484 of file mainwindow.cpp.
void MainWindow::toggleCaptureMode | ( | ) | [protected] |
Definition at line 389 of file mainwindow.cpp.
void MainWindow::trianglesFound | ( | std::vector< Eigen::Vector2d, Eigen::aligned_allocator< Eigen::Vector2d > > * | triangles | ) | [slot] |
Definition at line 563 of file mainwindow.cpp.
QPushButton* MainWindow::btnAddTopPose [protected] |
Definition at line 76 of file mainwindow.h.
QPushButton* MainWindow::btnCapture [protected] |
Definition at line 72 of file mainwindow.h.
QPushButton* MainWindow::btnClearTopPose [protected] |
Definition at line 78 of file mainwindow.h.
QPushButton* MainWindow::btnDeleteTopPose [protected] |
Definition at line 77 of file mainwindow.h.
QPushButton* MainWindow::btnPossibleSolutions_Left [protected] |
Definition at line 73 of file mainwindow.h.
QPushButton* MainWindow::btnPossibleSolutions_Right [protected] |
Definition at line 74 of file mainwindow.h.
QPushButton* MainWindow::btnStartPTUCapture [protected] |
Definition at line 75 of file mainwindow.h.
boost::shared_ptr<Calibration_Object> MainWindow::calibrationObject [protected] |
Definition at line 105 of file mainwindow.h.
std::vector<Eigen::Vector3d, Eigen::aligned_allocator<Eigen::Vector3d> >* MainWindow::capturedTopPoses [protected] |
Definition at line 94 of file mainwindow.h.
QCheckBox* MainWindow::chk_avgData [protected] |
Definition at line 53 of file mainwindow.h.
QCheckBox* MainWindow::chk_edges [protected] |
Definition at line 56 of file mainwindow.h.
QCheckBox* MainWindow::chk_filteredData [protected] |
Definition at line 54 of file mainwindow.h.
QCheckBox* MainWindow::chk_rawdata [protected] |
Definition at line 52 of file mainwindow.h.
QCheckBox* MainWindow::chk_segments [protected] |
Definition at line 55 of file mainwindow.h.
LaserScanThread* MainWindow::currentThread [protected] |
Definition at line 84 of file mainwindow.h.
std::vector<Eigen::Vector2d, Eigen::aligned_allocator<Eigen::Vector2d> >* MainWindow::currentTriangles [protected] |
Definition at line 90 of file mainwindow.h.
boost::shared_ptr<FeasibilityChecker> MainWindow::feasibilityChecker [protected] |
Definition at line 107 of file mainwindow.h.
bool MainWindow::isCapturing [protected] |
Definition at line 51 of file mainwindow.h.
QLabel* MainWindow::lblCurrentTriangle [protected] |
Definition at line 63 of file mainwindow.h.
QLabel* MainWindow::lblPossibleSolutions_Position [protected] |
Definition at line 67 of file mainwindow.h.
QLabel* MainWindow::lblSolutionMatrix [protected] |
Definition at line 65 of file mainwindow.h.
QLabel* MainWindow::lblSolutions [protected] |
Definition at line 61 of file mainwindow.h.
QLabel* MainWindow::lblTopPoseVariance [protected] |
Definition at line 70 of file mainwindow.h.
QLabel* MainWindow::lblTriangles [protected] |
Definition at line 59 of file mainwindow.h.
QListWidget* MainWindow::lstTopPose [protected] |
Definition at line 80 of file mainwindow.h.
boost::shared_ptr<MarkerPublisher> MainWindow::markerPublisher [protected] |
Definition at line 102 of file mainwindow.h.
int MainWindow::possibleSolutions_Position [protected] |
Definition at line 82 of file mainwindow.h.
QRadioButton* MainWindow::radio_flat [protected] |
Definition at line 87 of file mainwindow.h.
QRadioButton* MainWindow::radio_polar [protected] |
Definition at line 86 of file mainwindow.h.
std::vector<Eigen::Vector2d, Eigen::aligned_allocator<Eigen::Vector2d> >* MainWindow::selectedTriangle [protected] |
Definition at line 91 of file mainwindow.h.
unsigned int MainWindow::showData [protected] |
Definition at line 50 of file mainwindow.h.
std::vector<Eigen::Matrix4d, Eigen::aligned_allocator<Eigen::Matrix4d> >* MainWindow::solutionFrames [protected] |
Definition at line 97 of file mainwindow.h.
boost::shared_ptr<ResectionSolver> MainWindow::solver [protected] |
Definition at line 99 of file mainwindow.h.
boost::shared_ptr<TF_Visualizer> MainWindow::tfVisualizer [protected] |
Definition at line 112 of file mainwindow.h.
boost::shared_ptr<Transformation_Publisher> MainWindow::transformationPublisher [protected] |
Definition at line 109 of file mainwindow.h.
LaserScanWidget* MainWindow::widget [protected] |
Definition at line 88 of file mainwindow.h.