#include <Main_Dialog.h>
Public Member Functions | |
Main_Dialog (wxWindow *parent) | |
The constructor of this class. More... | |
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. More... | |
Public Member Functions inherited from MainDialogBase | |
MainDialogBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Descriptor Surface Based Trainer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(600, 320), long style=wxDEFAULT_DIALOG_STYLE) | |
~MainDialogBase () | |
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) |
Additional Inherited Members | |
Protected Attributes inherited from MainDialogBase | |
wxButton * | button_cancel |
wxButton * | button_next |
wxChoice * | choice_mesh |
wxChoice * | choice_object_model |
wxChoice * | choice_rotation_type |
wxTextCtrl * | edit_diameter |
wxTextCtrl * | edit_name |
wxTextCtrl * | edit_orientation_x |
wxTextCtrl * | edit_orientation_y |
wxTextCtrl * | edit_orientation_z |
wxTextCtrl * | edit_score_3D |
wxStaticText * | label_caption |
wxStaticText * | label_diameter |
wxStaticText * | label_mesh |
wxStaticText * | label_name |
wxStaticText * | label_object_model |
wxStaticText * | label_orientation |
wxStaticText * | label_orientation_x |
wxStaticText * | label_orientation_y |
wxStaticText * | label_orientation_z |
wxStaticText * | label_rotation_type |
wxStaticText * | label_score_3D |
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.
|
protectedvirtual |
Called when the cancel-button is being pressed
Reimplemented from MainDialogBase.
Definition at line 129 of file Main_Dialog.cpp.
|
protectedvirtual |
Called when the dialog is being closed
Reimplemented from MainDialogBase.
Definition at line 109 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 246 of file Main_Dialog.cpp.
|
protectedvirtual |
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.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 222 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 230 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 238 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 259 of file Main_Dialog.cpp.
|
protectedvirtual |
Called when the next-button is being pressed
Reimplemented from MainDialogBase.
Definition at line 141 of file Main_Dialog.cpp.
|
protectedvirtual |
Called when an object-model is selected from the spinner
Reimplemented from MainDialogBase.
Definition at line 118 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 296 of file Main_Dialog.cpp.
|
protectedvirtual |
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.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 278 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 284 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 290 of file Main_Dialog.cpp.
|
protectedvirtual |
Reimplemented from MainDialogBase.
Definition at line 302 of file Main_Dialog.cpp.