Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
icpfind.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
2 
11 #include "panoinc_WX.h"
12 #include <wx/cmdline.h>
13 #include "CPDetectorConfig.h"
14 #include <set>
15 
16 #ifdef __WXMAC__
17 class iCPApp : public wxApp
18 #else
19 class iCPApp : public wxAppConsole
20 #endif
21 {
23  virtual int OnRun();
25  virtual void OnInitCmdLine(wxCmdLineParser &parser);
27  virtual bool OnCmdLineParsed(wxCmdLineParser &parser);
28 private:
30  void ReadDetectorConfig();
31 
32  long m_setting;
33  long m_matches;
34  wxString m_input;
35  wxString m_output;
38 };
39 
40 DECLARE_APP(iCPApp)
void ReadDetectorConfig()
read the CPDetectorConfig from file/registry
Definition: icpfind.cpp:45
long m_matches
Definition: icpfind.h:33
CPDetectorSetting m_cpsetting
Definition: icpfind.h:36
Model for a panorama.
Definition: Panorama.h:152
class, which stores all settings of one cp detector
virtual int OnRun()
the main procedure of iCPApp
Definition: icpfind.cpp:108
wxString m_input
Definition: icpfind.h:34
wxString m_output
Definition: icpfind.h:35
virtual void OnInitCmdLine(wxCmdLineParser &parser)
set the parameters for the command line parser
Definition: icpfind.cpp:73
Definition: icpfind.h:19
HuginBase::Panorama pano
Definition: icpfind.h:37
include file for the hugin project
declaration of CPDetectorSetting and CPDetectorConfig classes, which are for storing and changing set...
long m_setting
Definition: icpfind.h:32
virtual bool OnCmdLineParsed(wxCmdLineParser &parser)
processes the command line parameters
Definition: icpfind.cpp:82