#include <Desc_Models_Dialog.h>
Public Member Functions | |
DescModelsDialog (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 constructor of this class. | |
std::vector< std::string > | getObjectParameters () |
Returns the list of object parameters. | |
std::vector< ViewParamsWrapper > | getViews () |
Returns the list of created 2D-views. | |
Protected Member Functions | |
void | onAddModelClicked (wxCommandEvent &event) |
void | onBackClicked (wxCommandEvent &event) |
void | onCancelClicked (wxCommandEvent &event) |
void | onDeleteModelClicked (wxCommandEvent &event) |
void | OnDialogClose (wxCloseEvent &event) |
void | onEditModelClicked (wxCommandEvent &event) |
void | onFinishClicked (wxCommandEvent &event) |
void | onImageClicked (wxMouseEvent &event) |
void | onImageClickedRight (wxMouseEvent &event) |
void | onListBoxSelected (wxCommandEvent &event) |
Private Member Functions | |
void | resetGuiValues () |
Resets all the shown values to default. | |
Private Attributes | |
std::string | diameter |
std::string | mesh |
std::string | name |
std::string | object_model |
std::string | orientation_x |
std::string | orientation_y |
std::string | orientation_z |
std::string | rotation_type |
std::string | score_3D |
std::vector< ViewParamsWrapper > | views |
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 shows the created views used for 2D-recognition
Definition at line 33 of file Desc_Models_Dialog.h.
DescModelsDialog::DescModelsDialog | ( | 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 constructor of this class.
parent | The parent window of this dialog |
name | -- |
image | | |
depth | | |
number_ferns | |-- see class members |
patch_size | | |
min_scale | | |
max_scale | | |
use_color | -- |
Definition at line 84 of file Desc_Models_Dialog.cpp.
std::vector< std::string > DescModelsDialog::getObjectParameters | ( | ) |
Returns the list of object parameters.
Definition at line 62 of file Desc_Models_Dialog.cpp.
std::vector< ViewParamsWrapper > DescModelsDialog::getViews | ( | ) |
Returns the list of created 2D-views.
Definition at line 77 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onAddModelClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the add-model-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 111 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onBackClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the back-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 214 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onCancelClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the cancel-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 159 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onDeleteModelClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the delete-model-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 135 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::OnDialogClose | ( | wxCloseEvent & | event | ) | [protected, virtual] |
Called when the dialog is being closed
Reimplemented from DescModelsDialogBase.
Definition at line 101 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onEditModelClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the edit-model-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 148 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onFinishClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when the finish-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 171 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onImageClicked | ( | wxMouseEvent & | event | ) | [protected, virtual] |
Called when the image-panel is being clicked with the left mouse button
Reimplemented from DescModelsDialogBase.
Definition at line 311 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onImageClickedRight | ( | wxMouseEvent & | event | ) | [protected, virtual] |
Called when the image-panel is being clicked with the right mouse button
Reimplemented from DescModelsDialogBase.
Definition at line 337 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::onListBoxSelected | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Called when an item in the listbox is being selected
Reimplemented from DescModelsDialogBase.
Definition at line 233 of file Desc_Models_Dialog.cpp.
void DescModelsDialog::resetGuiValues | ( | ) | [private] |
Resets all the shown values to default.
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 29 of file Desc_Models_Dialog.cpp.
std::string DescModelsDialog::diameter [private] |
The diameter maximum diameter of the given object_model
Definition at line 60 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::mesh [private] |
The mesh used for visualisation of the recognized object
Definition at line 45 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::name [private] |
The name of the trained object
Definition at line 39 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::object_model [private] |
The pointcloud the surface-model used for 3D-recognition is created from
Definition at line 42 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::orientation_x [private] |
The x-component of this object's orientation
Definition at line 51 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::orientation_y [private] |
The y-component of this object's orientation
Definition at line 54 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::orientation_z [private] |
The z-component of this object's orientation
Definition at line 57 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::rotation_type [private] |
The rotation type of this object (see Utils.h)
Definition at line 48 of file Desc_Models_Dialog.h.
std::string DescModelsDialog::score_3D [private] |
The threshold used for 3D-recognition to check whether a found object instance is valid
Definition at line 63 of file Desc_Models_Dialog.h.
std::vector<ViewParamsWrapper> DescModelsDialog::views [private] |
The list containing all currently created views of the object
Definition at line 66 of file Desc_Models_Dialog.h.