#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. More... | |
std::vector< std::string > | getObjectParameters () |
Returns the list of object parameters. More... | |
std::vector< ViewParamsWrapper > | getViews () |
Returns the list of created 2D-views. More... | |
Public Member Functions inherited from DescModelsDialogBase | |
DescModelsDialogBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Descriptor Surfaced Based Trainer - Create views"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 540), long style=wxDEFAULT_DIALOG_STYLE) | |
~DescModelsDialogBase () | |
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. More... | |
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.
|
protectedvirtual |
Called when the add-model-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 111 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
Called when the back-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 214 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
Called when the cancel-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 159 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
Called when the delete-model-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 135 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
Called when the dialog is being closed
Reimplemented from DescModelsDialogBase.
Definition at line 101 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
Called when the edit-model-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 148 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
Called when the finish-button was pushed
Reimplemented from DescModelsDialogBase.
Definition at line 171 of file Desc_Models_Dialog.cpp.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
Called when an item in the listbox is being selected
Reimplemented from DescModelsDialogBase.
Definition at line 233 of file Desc_Models_Dialog.cpp.
|
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.
|
private |
The diameter maximum diameter of the given object_model
Definition at line 60 of file Desc_Models_Dialog.h.
|
private |
The mesh used for visualisation of the recognized object
Definition at line 45 of file Desc_Models_Dialog.h.
|
private |
The name of the trained object
Definition at line 39 of file Desc_Models_Dialog.h.
|
private |
The pointcloud the surface-model used for 3D-recognition is created from
Definition at line 42 of file Desc_Models_Dialog.h.
|
private |
The x-component of this object's orientation
Definition at line 51 of file Desc_Models_Dialog.h.
|
private |
The y-component of this object's orientation
Definition at line 54 of file Desc_Models_Dialog.h.
|
private |
The z-component of this object's orientation
Definition at line 57 of file Desc_Models_Dialog.h.
|
private |
The rotation type of this object (see Utils.h)
Definition at line 48 of file Desc_Models_Dialog.h.
|
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.
|
private |
The list containing all currently created views of the object
Definition at line 66 of file Desc_Models_Dialog.h.