#include <Main_Dialog.h>
Public Member Functions | |
Main_Dialog (wxWindow *parent) | |
The constructor of this class. | |
Main_Dialog (wxWindow *parent, std::string name, std::string object_model, std::string mesh, std::string rotation_type, std::string orientation_x, std::string orientation_y, std::string orientation_z, std::string diameter, std::string score_3D) | |
The extended constructor of this class used when back is pressed on DescModelsDialog. | |
Protected Member Functions | |
void | onCancelPressed (wxCommandEvent &event) |
void | onDialogClose (wxCloseEvent &event) |
void | onKillFocusDiameter (wxFocusEvent &event) |
void | onKillFocusName (wxFocusEvent &event) |
void | onKillFocusOrientationX (wxFocusEvent &event) |
void | onKillFocusOrientationY (wxFocusEvent &event) |
void | onKillFocusOrientationZ (wxFocusEvent &event) |
void | onKillFocusScore3D (wxFocusEvent &event) |
void | onNextPressed (wxCommandEvent &event) |
void | onObjectModelSelected (wxCommandEvent &event) |
void | onTextEnterDiameter (wxCommandEvent &event) |
void | onTextEnterName (wxCommandEvent &event) |
void | onTextEnterOrientationX (wxCommandEvent &event) |
void | onTextEnterOrientationY (wxCommandEvent &event) |
void | onTextEnterOrientationZ (wxCommandEvent &event) |
void | onTextEnterScore3D (wxCommandEvent &event) |
Copyright (C) 2016, Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. This class represents the dialog which is shown after the start of the application
Definition at line 30 of file Main_Dialog.h.
Main_Dialog::Main_Dialog | ( | wxWindow * | parent | ) |
The constructor of this class.
parent | The parent window of this dialog |
Copyright (C) 2016, Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition at line 34 of file Main_Dialog.cpp.
Main_Dialog::Main_Dialog | ( | wxWindow * | parent, |
std::string | name, | ||
std::string | object_model, | ||
std::string | mesh, | ||
std::string | rotation_type, | ||
std::string | orientation_x, | ||
std::string | orientation_y, | ||
std::string | orientation_z, | ||
std::string | diameter, | ||
std::string | score_3D | ||
) |
The extended constructor of this class used when back is pressed on DescModelsDialog.
parent | The parent window of this dialog |
name | The name of the object which is being trained |
object_model | The selected object-model |
mesh | The selected mesh used for visualisation |
rotation_type | The rotation type of the model |
orientation_x | The x-component of the model's orientation |
orientation_y | The y-component of the model's orientation |
orientation_z | The z-component of the model's orientation |
diameter | The maximum diameter of the given object_model |
score_3D | The score used for 3D-recognition |
Definition at line 67 of file Main_Dialog.cpp.
void Main_Dialog::onCancelPressed | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the cancel-button is being pressed
Reimplemented from MainDialogBase.
Definition at line 129 of file Main_Dialog.cpp.
void Main_Dialog::onDialogClose | ( | wxCloseEvent & | event | ) | [protected, virtual] |
Called when the dialog is being closed
Reimplemented from MainDialogBase.
Definition at line 109 of file Main_Dialog.cpp.
void Main_Dialog::onKillFocusDiameter | ( | wxFocusEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 246 of file Main_Dialog.cpp.
void Main_Dialog::onKillFocusName | ( | wxFocusEvent & | event | ) | [protected, virtual] |
The following functions are called when the focus of the edit-text-fields is being killed
Reimplemented from MainDialogBase.
Definition at line 214 of file Main_Dialog.cpp.
void Main_Dialog::onKillFocusOrientationX | ( | wxFocusEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 222 of file Main_Dialog.cpp.
void Main_Dialog::onKillFocusOrientationY | ( | wxFocusEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 230 of file Main_Dialog.cpp.
void Main_Dialog::onKillFocusOrientationZ | ( | wxFocusEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 238 of file Main_Dialog.cpp.
void Main_Dialog::onKillFocusScore3D | ( | wxFocusEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 259 of file Main_Dialog.cpp.
void Main_Dialog::onNextPressed | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the next-button is being pressed
Reimplemented from MainDialogBase.
Definition at line 141 of file Main_Dialog.cpp.
void Main_Dialog::onObjectModelSelected | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when an object-model is selected from the spinner
Reimplemented from MainDialogBase.
Definition at line 118 of file Main_Dialog.cpp.
void Main_Dialog::onTextEnterDiameter | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 296 of file Main_Dialog.cpp.
void Main_Dialog::onTextEnterName | ( | wxCommandEvent & | event | ) | [protected, virtual] |
The following functions are called when enter is being pressed while a edit-text-field is focused
Reimplemented from MainDialogBase.
Definition at line 272 of file Main_Dialog.cpp.
void Main_Dialog::onTextEnterOrientationX | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 278 of file Main_Dialog.cpp.
void Main_Dialog::onTextEnterOrientationY | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 284 of file Main_Dialog.cpp.
void Main_Dialog::onTextEnterOrientationZ | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 290 of file Main_Dialog.cpp.
void Main_Dialog::onTextEnterScore3D | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from MainDialogBase.
Definition at line 302 of file Main_Dialog.cpp.