Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
DescModelsDialog Class Reference

#include <Desc_Models_Dialog.h>

Inheritance diagram for DescModelsDialog:
Inheritance graph
[legend]

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< ViewParamsWrappergetViews ()
 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< ViewParamsWrapperviews
 

Additional Inherited Members

- Protected Attributes inherited from DescModelsDialogBase
wxButton * button_add_model
 
wxButton * button_back
 
wxButton * button_cancel
 
wxButton * button_delete_model
 
wxButton * button_edit_model
 
wxButton * button_finish
 
wxImagePanelimage
 
wxStaticText * label_axis_1
 
wxStaticText * label_axis_1_angle
 
wxStaticText * label_axis_1_angle_value
 
wxStaticText * label_axis_1_x
 
wxStaticText * label_axis_1_x_value
 
wxStaticText * label_axis_1_y
 
wxStaticText * label_axis_1_y_value
 
wxStaticText * label_axis_1_z
 
wxStaticText * label_axis_1_z_value
 
wxStaticText * label_axis_2
 
wxStaticText * label_axis_2_angle
 
wxStaticText * label_axis_2_angle_value
 
wxStaticText * label_axis_2_x
 
wxStaticText * label_axis_2_x_value
 
wxStaticText * label_axis_2_y
 
wxStaticText * label_axis_2_y_value
 
wxStaticText * label_axis_2_z
 
wxStaticText * label_axis_2_z_value
 
wxStaticText * label_caption
 
wxStaticText * label_depth
 
wxStaticText * label_depth_value
 
wxStaticText * label_horizontal_offset
 
wxStaticText * label_horizontal_offset_value
 
wxStaticText * label_invertible
 
wxStaticText * label_invertible_value
 
wxStaticText * label_max_scale
 
wxStaticText * label_max_scale_value
 
wxStaticText * label_min_scale
 
wxStaticText * label_min_scale_value
 
wxStaticText * label_number_ferns
 
wxStaticText * label_number_ferns_value
 
wxStaticText * label_orientation
 
wxStaticText * label_orientation_x
 
wxStaticText * label_orientation_x_value
 
wxStaticText * label_orientation_y
 
wxStaticText * label_orientation_y_value
 
wxStaticText * label_orientation_z
 
wxStaticText * label_orientation_z_value
 
wxStaticText * label_patch_size
 
wxStaticText * label_patch_size_value
 
wxStaticText * label_score_2D
 
wxStaticText * label_score_2D_value
 
wxStaticText * label_use_color
 
wxStaticText * label_use_color_value
 
wxStaticText * label_vertical_offset
 
wxStaticText * label_vertical_offset_value
 
wxListBox * list_box_views
 
wxPanel * m_panel1
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
parentThe 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.

Member Function Documentation

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)
protectedvirtual

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)
protectedvirtual

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)
protectedvirtual

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)
protectedvirtual

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)
protectedvirtual

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)
protectedvirtual

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)
protectedvirtual

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)
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.

void DescModelsDialog::onImageClickedRight ( wxMouseEvent &  event)
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.

void DescModelsDialog::onListBoxSelected ( wxCommandEvent &  event)
protectedvirtual

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.

Member Data Documentation

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.


The documentation for this class was generated from the following files:


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Mon Dec 16 2019 03:31:15