#include <CPDetectorConfig.h>
Public Member Functions | |
| CPDetectorSetting () | |
| constructor | |
| virtual | ~CPDetectorSetting () |
| destructor | |
| bool | Read (wxConfigBase *config, wxString path) |
| read setting for this generator from config | |
| void | Write (wxConfigBase *config, wxString path) |
| writes setting for this generator to config | |
| const wxString | GetCPDetectorDesc () |
| return description of this setting | |
| void | SetCPDetectorDesc (wxString new_desc) |
| sets description of this setting | |
| const CPDetectorType | GetType () |
| return type of this setting | |
| void | SetType (CPDetectorType new_type) |
| sets type of this setting | |
| const wxString | GetProg () |
| return program for one step detector or feature descriptor | |
| void | SetProg (wxString new_prog) |
| sets program for one step detector or feature descriptor | |
| const wxString | GetArgs () |
| return arguments of one step detector or feature descriptor | |
| void | SetArgs (wxString new_args) |
| sets arguments of one step detector or feature descriptor | |
| const wxString | GetArgsCleanup () |
| return arguments for the cleanup step | |
| void | SetArgsCleanup (wxString new_args) |
| sets arguments for the cleanup step | |
| const wxString | GetProgMatcher () |
| return program for feature matcher | |
| void | SetProgMatcher (wxString new_prog) |
| sets program for feature matcher | |
| const wxString | GetArgsMatcher () |
| return arguments for feature matcher | |
| void | SetArgsMatcher (wxString new_args) |
| sets arguments for feature matcher | |
| const wxString | GetProgStack () |
| return program name, which works on stacks | |
| void | SetProgStack (wxString new_prog) |
| sets program for detecting cp in stacks | |
| const wxString | GetArgsStack () |
| return arguments of program for detection of cp in stacks | |
| void | SetArgsStack (wxString new_args) |
| sets arguments of program for detection of cp in stacks | |
| const bool | GetOption () |
| gets options, used in multi-row and prealigned cp detectors | |
| void | SetOption (bool new_option) |
| set options, used in multi-row cp and prealigned detectors | |
| const bool | IsTwoStepDetector () |
| returns true, if setting is suitable for two step detector otherwise false | |
| const bool | IsCleanupPossible () |
| const bool | ContainsStacks () |
Static Public Member Functions | |
| const bool | IsCleanupPossible (CPDetectorType _type) |
| return true, if setting allows a final cleanup run | |
| const bool | ContainsStacks (CPDetectorType _type) |
| return true, if setting contains a stack detector, even it is empty | |
Private Member Functions | |
| void | CheckValues () |
Private Attributes | |
| CPDetectorType | type |
| wxString | desc |
| wxString | prog |
| wxString | args |
| wxString | args_cleanup |
| wxString | prog_matcher |
| wxString | args_matcher |
| wxString | prog_stack |
| wxString | args_stack |
| bool | option |
Definition at line 47 of file CPDetectorConfig.h.
|
|
constructor
Definition at line 166 of file CPDetectorConfig.cpp. References args, args_cleanup, args_matcher, args_stack, CheckValues(), desc, option, prog, prog_matcher, prog_stack, and type. |
|
|
destructor
Definition at line 53 of file CPDetectorConfig.h. |
|
|
Definition at line 181 of file CPDetectorConfig.cpp. References args_matcher, prog_matcher, and type. Referenced by CPDetectorSetting(), and Read(). |
|
|
Definition at line 106 of file CPDetectorConfig.h. References type. Referenced by CPDetectorDialog::OnOk(), Read(), and Write(). |
|
|
return true, if setting contains a stack detector, even it is empty
Definition at line 200 of file CPDetectorConfig.cpp. References CPDetector_AutoPanoSiftStack. |
|
|
return arguments of one step detector or feature descriptor
Definition at line 72 of file CPDetectorConfig.h. Referenced by AutoPanoSiftMultiRow::automatch(), AutoPanoKolor::automatch(), and AutoPanoSift::automatch(). |
|
|
return arguments for the cleanup step
Definition at line 76 of file CPDetectorConfig.h. Referenced by AutoCtrlPointCreator::Cleanup(). |
|
|
return arguments for feature matcher
Definition at line 84 of file CPDetectorConfig.h. Referenced by AutoPanoSiftMultiRow::automatch(), and AutoPanoSift::automatch(). |
|
|
return arguments of program for detection of cp in stacks
Definition at line 92 of file CPDetectorConfig.h. Referenced by AutoPanoSiftMultiRowStack::automatch(), and AutoPanoSiftStack::automatch(). |
|
|
return description of this setting
Definition at line 60 of file CPDetectorConfig.h. |
|
|
gets options, used in multi-row and prealigned cp detectors
Definition at line 96 of file CPDetectorConfig.h. Referenced by AutoPanoSiftPreAlign::automatch(), and AutoPanoSiftMultiRow::automatch(). |
|
|
return program for one step detector or feature descriptor
Definition at line 68 of file CPDetectorConfig.h. Referenced by AutoPanoSiftMultiRow::automatch(), AutoPanoKolor::automatch(), AutoPanoSift::automatch(), AutoCtrlPointCreator::automatch(), and AutoCtrlPointCreator::Cleanup(). |
|
|
return program for feature matcher
Definition at line 80 of file CPDetectorConfig.h. Referenced by AutoPanoSiftMultiRow::automatch(), AutoPanoSift::automatch(), and AutoCtrlPointCreator::automatch(). |
|
|
return program name, which works on stacks
Definition at line 88 of file CPDetectorConfig.h. Referenced by AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftStack::automatch(), and AutoCtrlPointCreator::automatch(). |
|
|
return type of this setting
Definition at line 64 of file CPDetectorConfig.h. References CPDetectorType. Referenced by AutoCtrlPointCreator::automatch(). |
|
|
Definition at line 103 of file CPDetectorConfig.h. References type. Referenced by CPDetectorDialog::ChangeType(), Read(), and Write(). |
|
|
return true, if setting allows a final cleanup run
Definition at line 193 of file CPDetectorConfig.cpp. References CPDetector_AutoPanoSiftMultiRow, and CPDetector_AutoPanoSiftMultiRowStack. Referenced by AutoCtrlPointCreator::Cleanup(). |
|
|
returns true, if setting is suitable for two step detector otherwise false
Definition at line 100 of file CPDetectorConfig.h. References prog_matcher. Referenced by AutoPanoSiftPreAlign::automatch(), AutoPanoSiftMultiRow::automatch(), AutoPanoSift::automatch(), AutoCtrlPointCreator::automatch(), and AutoCtrlPointCreator::Cleanup(). |
|
||||||||||||
|
read setting for this generator from config
Definition at line 205 of file CPDetectorConfig.cpp. References args, args_cleanup, args_matcher, args_stack, CheckValues(), ContainsStacks(), CPDetector_AutoPanoSift, default_cpgenerator_args(), default_cpgenerator_desc(), default_cpgenerator_prog(), desc, IsCleanupPossible(), option, prog, prog_matcher, prog_stack, and type. Referenced by AutoPanoSift::automatch(), and CPDetectorConfig::ReadIndex(). |
|
|
sets arguments of one step detector or feature descriptor
Definition at line 74 of file CPDetectorConfig.h. References args. Referenced by AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftMultiRow::automatch(), and AutoPanoSiftStack::automatch(). |
|
|
sets arguments for the cleanup step
Definition at line 78 of file CPDetectorConfig.h. References args_cleanup. |
|
|
sets arguments for feature matcher
Definition at line 86 of file CPDetectorConfig.h. References args_matcher. Referenced by AutoPanoSiftMultiRow::automatch(). |
|
|
sets arguments of program for detection of cp in stacks
Definition at line 94 of file CPDetectorConfig.h. References args_stack. |
|
|
sets description of this setting
Definition at line 62 of file CPDetectorConfig.h. References desc. |
|
|
set options, used in multi-row cp and prealigned detectors
Definition at line 98 of file CPDetectorConfig.h. References option. Referenced by AutoPanoSiftMultiRow::automatch(). |
|
|
sets program for one step detector or feature descriptor
Definition at line 70 of file CPDetectorConfig.h. References prog. Referenced by AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftMultiRow::automatch(), and AutoPanoSiftStack::automatch(). |
|
|
sets program for feature matcher
Definition at line 82 of file CPDetectorConfig.h. References prog_matcher. Referenced by AutoPanoSiftMultiRow::automatch(). |
|
|
sets program for detecting cp in stacks
Definition at line 90 of file CPDetectorConfig.h. References prog_stack. |
|
|
sets type of this setting
Definition at line 66 of file CPDetectorConfig.h. References type. Referenced by AutoPanoSiftMultiRowStack::automatch(), and AutoPanoSiftStack::automatch(). |
|
||||||||||||
|
writes setting for this generator to config
Definition at line 240 of file CPDetectorConfig.cpp. References args, args_cleanup, args_matcher, args_stack, ContainsStacks(), desc, IsCleanupPossible(), option, prog, prog_matcher, prog_stack, and type. |
|
|
Definition at line 112 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetArgs(), and Write(). |
|
|
Definition at line 113 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetArgsCleanup(), and Write(). |
|
|
Definition at line 115 of file CPDetectorConfig.h. Referenced by CheckValues(), CPDetectorSetting(), Read(), SetArgsMatcher(), and Write(). |
|
|
Definition at line 117 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetArgsStack(), and Write(). |
|
|
Definition at line 110 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetCPDetectorDesc(), and Write(). |
|
|
Definition at line 118 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetOption(), and Write(). |
|
|
Definition at line 111 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetProg(), and Write(). |
|
|
Definition at line 114 of file CPDetectorConfig.h. Referenced by CheckValues(), CPDetectorSetting(), IsTwoStepDetector(), Read(), SetProgMatcher(), and Write(). |
|
|
Definition at line 116 of file CPDetectorConfig.h. Referenced by CPDetectorSetting(), Read(), SetProgStack(), and Write(). |
|
|
Definition at line 109 of file CPDetectorConfig.h. Referenced by CheckValues(), ContainsStacks(), CPDetectorSetting(), IsCleanupPossible(), Read(), SetType(), and Write(). |
1.3.9.1