Window class for wizards to create new filters. More...
#include <filter_window.h>
Public Slots | |
virtual void | finished () |
Called when the 'finish' button is pressed. | |
virtual void | itemSelected (int id) |
Called if a different item in the filter list is selected. | |
virtual void | next () |
Called when the 'next' button is pressed. | |
Signals | |
void | filterCreated () |
Ommitted when a filter is created. | |
Public Member Functions | |
FilterWindow (std::vector< CloudFilterFactory * > &filter_factories, std::vector< CloudFilter * > &filter_list) | |
Creates a new wizard for creating a filter. The filter to be created can be selected from the specified list of filters. The supplied factories are used to create the corresponding filters. | |
virtual | ~FilterWindow () |
Protected Member Functions | |
virtual void | cleanupPage (int id) |
Private Member Functions | |
void | createFilterSelectionPage () |
Creates the page for selecting filters. | |
void | fillFilterSelectionComboBox (QComboBox *combo_box) |
Fills the combo box used for selecting filters. | |
Private Attributes | |
CloudFilter * | filter_ |
The filter to be created. | |
std::vector< CloudFilterFactory * > | filter_factories_ |
List of filter factories used to create the available filters. | |
std::vector< CloudFilter * > * | filter_list_ |
The destination for the newly created filter. | |
QLineEdit * | filter_name_line_edit_ |
Line edit used to specify the name of the created filter. | |
QComboBox * | filter_selection_combo_box_ |
Combo box that holds the names of the available filters. | |
int | last_added_page_id_ |
Window class for wizards to create new filters.
Definition at line 60 of file filter_window.h.
pcl::apps::optronic_viewer::FilterWindow::FilterWindow | ( | std::vector< CloudFilterFactory * > & | filter_factories, |
std::vector< CloudFilter * > & | filter_list | ||
) |
Creates a new wizard for creating a filter. The filter to be created can be selected from the specified list of filters. The supplied factories are used to create the corresponding filters.
Definition at line 54 of file filter_window.cpp.
pcl::apps::optronic_viewer::FilterWindow::~FilterWindow | ( | ) | [virtual] |
Definition at line 78 of file filter_window.cpp.
virtual void pcl::apps::optronic_viewer::FilterWindow::cleanupPage | ( | int | id | ) | [inline, protected, virtual] |
Definition at line 88 of file filter_window.h.
void pcl::apps::optronic_viewer::FilterWindow::createFilterSelectionPage | ( | ) | [private] |
Creates the page for selecting filters.
Definition at line 130 of file filter_window.cpp.
void pcl::apps::optronic_viewer::FilterWindow::fillFilterSelectionComboBox | ( | QComboBox * | combo_box | ) | [private] |
Fills the combo box used for selecting filters.
Definition at line 160 of file filter_window.cpp.
void pcl::apps::optronic_viewer::FilterWindow::filterCreated | ( | ) | [signal] |
Ommitted when a filter is created.
void pcl::apps::optronic_viewer::FilterWindow::finished | ( | ) | [virtual, slot] |
Called when the 'finish' button is pressed.
Definition at line 106 of file filter_window.cpp.
void pcl::apps::optronic_viewer::FilterWindow::itemSelected | ( | int | id | ) | [virtual, slot] |
Called if a different item in the filter list is selected.
Definition at line 86 of file filter_window.cpp.
void pcl::apps::optronic_viewer::FilterWindow::next | ( | ) | [virtual, slot] |
Called when the 'next' button is pressed.
Definition at line 120 of file filter_window.cpp.
The filter to be created.
Definition at line 114 of file filter_window.h.
std::vector<CloudFilterFactory*> pcl::apps::optronic_viewer::FilterWindow::filter_factories_ [private] |
List of filter factories used to create the available filters.
Definition at line 101 of file filter_window.h.
std::vector<CloudFilter*>* pcl::apps::optronic_viewer::FilterWindow::filter_list_ [private] |
The destination for the newly created filter.
Definition at line 111 of file filter_window.h.
QLineEdit* pcl::apps::optronic_viewer::FilterWindow::filter_name_line_edit_ [private] |
Line edit used to specify the name of the created filter.
Definition at line 106 of file filter_window.h.
QComboBox* pcl::apps::optronic_viewer::FilterWindow::filter_selection_combo_box_ [private] |
Combo box that holds the names of the available filters.
Definition at line 104 of file filter_window.h.
Definition at line 108 of file filter_window.h.