Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
CreateTestModelDialog Class Reference

#include <Create_Test_Model_Dialog.h>

Inheritance diagram for CreateTestModelDialog:
Inheritance graph
[legend]

List of all members.

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.

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.

Private Attributes

bool success

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) [protected, virtual]

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) [protected, virtual]

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

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 Thu Jun 6 2019 17:57:30