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

#include <Create_Test_Model_Dialog.h>

Inheritance diagram for CreateTestModelDialog:
Inheritance graph
[legend]

Public Member Functions

 CreateTestModelDialog (wxWindow *parent, HalconCpp::HDescriptorModel *desc_model, HalconCpp::HImage image, int depth, int number_ferns, int patch_size, double min_scale, double max_scale, bool use_color)
 The constructor of this class. More...
 
- Public Member Functions inherited from Create_Test_Model_Dialog_Base
 Create_Test_Model_Dialog_Base (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Please wait..."), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(200, 100), long style=wxDEFAULT_DIALOG_STYLE)
 
 ~Create_Test_Model_Dialog_Base ()
 

Protected Member Functions

void onButtonAbortClicked (wxCommandEvent &event)
 
void onCloseClicked (wxCloseEvent &event)
 

Private Member Functions

void createDescriptorModel (HalconCpp::HDescriptorModel *desc_model, HalconCpp::HImage image, HalconCpp::HTuple descParamNames, HalconCpp::HTuple descParamValues, bool use_color)
 Creates the test-model with the given parameters. More...
 

Private Attributes

bool success
 

Additional Inherited Members

- Protected Attributes inherited from Create_Test_Model_Dialog_Base
wxButton * button_abort
 
wxStaticText * label_message
 

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 when a test-descriptor-model is created with the given parameters used for testing

Definition at line 30 of file Create_Test_Model_Dialog.h.

Constructor & Destructor Documentation

CreateTestModelDialog::CreateTestModelDialog ( wxWindow *  parent,
HalconCpp::HDescriptorModel *  desc_model,
HalconCpp::HImage  image,
int  depth,
int  number_ferns,
int  patch_size,
double  min_scale,
double  max_scale,
bool  use_color 
)

The constructor of this class.

Parameters
parentThe parent window of this dialog
desc_modelA pointer to the descriptor-model which will be created by class
imageThe view of the object the model is created with
depthThe depth of the the classification ferns used by the descriptor-based recognition
number_fernsThe number of ferns used by the descriptor-based recognition
patch_sizeThe patch size used by the descriptor-based recognition
min_scaleThe minimal scale of the view the model is created from
max_scaleThe maximal scale of the view the model is created from
use_colorIndicates whether a colored image should be used for the creation of the model

Definition at line 43 of file Create_Test_Model_Dialog.cpp.

Member Function Documentation

void CreateTestModelDialog::createDescriptorModel ( HalconCpp::HDescriptorModel *  desc_model,
HalconCpp::HImage  image,
HalconCpp::HTuple  descParamNames,
HalconCpp::HTuple  descParamValues,
bool  use_color 
)
private

Creates the test-model with the given parameters.

Parameters
desc_modelA pointer to the descriptor-model which will be created by this function
imageThe view of the object the model is created with
descParamNamesThe names of the descriptor-model-parameters
descParamValuesThe values of the parameters given in descParamNames
use_colorIndicates whether a colored image should be used for the creation of the model

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 27 of file Create_Test_Model_Dialog.cpp.

void CreateTestModelDialog::onButtonAbortClicked ( wxCommandEvent &  event)
protectedvirtual

Called when the abort button is pushed

Reimplemented from Create_Test_Model_Dialog_Base.

Definition at line 68 of file Create_Test_Model_Dialog.cpp.

void CreateTestModelDialog::onCloseClicked ( wxCloseEvent &  event)
protectedvirtual

Called when the dialog is being closed

Reimplemented from Create_Test_Model_Dialog_Base.

Definition at line 81 of file Create_Test_Model_Dialog.cpp.

Member Data Documentation

bool CreateTestModelDialog::success
private

Indicates whether the creation of the test model was successful

Definition at line 36 of file Create_Test_Model_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