MainWindow opens up bag files and selects the frame of interst. More...
#include <main_window.h>
Public Slots | |
void | on_actionOpen_Bag_triggered () |
void | on_currentFrameSpin_valueChanged (int value) |
void | on_frameSlider_sliderMoved (int value) |
Public Member Functions | |
void | closeEvent (QCloseEvent *event) |
Close function has been overloaded to terminate the entire program if this window is terminated. | |
std::string | getBaseDirectory () |
Gets the path of the package using the ROSPack API. | |
void | initialize () |
MainWindow (QWidget *parent=0) | |
Constructor that initializes all elements + sets up the data path for the classification window, as well as opens up the default color table. | |
void | show () |
Overloaded function to show the classification window as well at the same time. | |
Private Attributes | |
ClassificationWindow | classWindow |
std::vector < sensor_msgs::ImageConstPtr > | images |
Current array of images retrieved from the bag file. | |
Ui::ClassificationTool | ui |
MainWindow opens up bag files and selects the frame of interst.
Definition at line 32 of file main_window.h.
color_table::MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
Constructor that initializes all elements + sets up the data path for the classification window, as well as opens up the default color table.
Definition at line 35 of file main_window.cpp.
void color_table::MainWindow::closeEvent | ( | QCloseEvent * | event | ) |
Close function has been overloaded to terminate the entire program if this window is terminated.
Definition at line 113 of file main_window.cpp.
std::string color_table::MainWindow::getBaseDirectory | ( | ) |
Gets the path of the package using the ROSPack API.
Definition at line 90 of file main_window.cpp.
void color_table::MainWindow::initialize | ( | ) |
Definition at line 103 of file main_window.cpp.
void color_table::MainWindow::on_actionOpen_Bag_triggered | ( | ) | [slot] |
Definition at line 42 of file main_window.cpp.
void color_table::MainWindow::on_currentFrameSpin_valueChanged | ( | int | value | ) | [slot] |
Definition at line 94 of file main_window.cpp.
void color_table::MainWindow::on_frameSlider_sliderMoved | ( | int | value | ) | [slot] |
Definition at line 99 of file main_window.cpp.
void color_table::MainWindow::show | ( | ) |
Overloaded function to show the classification window as well at the same time.
Definition at line 123 of file main_window.cpp.
Definition at line 71 of file main_window.h.
std::vector<sensor_msgs::ImageConstPtr> color_table::MainWindow::images [private] |
Current array of images retrieved from the bag file.
Definition at line 73 of file main_window.h.
Ui::ClassificationTool color_table::MainWindow::ui [private] |
Definition at line 70 of file main_window.h.