Public Member Functions | Protected Member Functions | List of all members
Main_Dialog Class Reference

#include <Main_Dialog.h>

Inheritance diagram for Main_Dialog:
Inheritance graph
[legend]

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
 

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 is shown after the start of the application

Definition at line 30 of file Main_Dialog.h.

Constructor & Destructor Documentation

Main_Dialog::Main_Dialog ( wxWindow *  parent)

The constructor of this class.

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

Parameters
parentThe parent window of this dialog
nameThe name of the object which is being trained
object_modelThe selected object-model
meshThe selected mesh used for visualisation
rotation_typeThe rotation type of the model
orientation_xThe x-component of the model's orientation
orientation_yThe y-component of the model's orientation
orientation_zThe z-component of the model's orientation
diameterThe maximum diameter of the given object_model
score_3DThe score used for 3D-recognition

Definition at line 67 of file Main_Dialog.cpp.

Member Function Documentation

void Main_Dialog::onCancelPressed ( wxCommandEvent &  event)
protectedvirtual

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

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

Reimplemented from MainDialogBase.

Definition at line 246 of file Main_Dialog.cpp.

void Main_Dialog::onKillFocusName ( wxFocusEvent &  event)
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.

void Main_Dialog::onKillFocusOrientationX ( wxFocusEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 222 of file Main_Dialog.cpp.

void Main_Dialog::onKillFocusOrientationY ( wxFocusEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 230 of file Main_Dialog.cpp.

void Main_Dialog::onKillFocusOrientationZ ( wxFocusEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 238 of file Main_Dialog.cpp.

void Main_Dialog::onKillFocusScore3D ( wxFocusEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 259 of file Main_Dialog.cpp.

void Main_Dialog::onNextPressed ( wxCommandEvent &  event)
protectedvirtual

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

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

Reimplemented from MainDialogBase.

Definition at line 296 of file Main_Dialog.cpp.

void Main_Dialog::onTextEnterName ( wxCommandEvent &  event)
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.

void Main_Dialog::onTextEnterOrientationX ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 278 of file Main_Dialog.cpp.

void Main_Dialog::onTextEnterOrientationY ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 284 of file Main_Dialog.cpp.

void Main_Dialog::onTextEnterOrientationZ ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 290 of file Main_Dialog.cpp.

void Main_Dialog::onTextEnterScore3D ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from MainDialogBase.

Definition at line 302 of file Main_Dialog.cpp.


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:16