Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
hugin1/hugin/AutoCtrlPointCreator.h
Go to the documentation of this file.00001 // -*- c-basic-offset: 4 -*- 00024 #ifndef _AUTOCTRLPOINTCREATOR_H 00025 #define _AUTOCTRLPOINTCREATOR_H 00026 00027 #include <string> 00028 #include <map> 00029 00030 #include "hugin/CPDetectorConfig.h" 00031 00035 class AutoCtrlPointCreator 00036 { 00037 public: 00038 00041 AutoCtrlPointCreator() {}; 00042 00045 virtual ~AutoCtrlPointCreator() {}; 00046 00050 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00051 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00052 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00053 int nFeatures, wxWindow *parent=NULL); 00054 00055 protected: 00056 00057 CPVector readUpdatedControlPoints(const std::string & file, 00058 PT::Panorama & pano); 00059 private: 00060 00061 }; 00062 00064 class AutoPanoSift : public AutoCtrlPointCreator 00065 { 00066 public: 00067 00070 AutoPanoSift() {}; 00071 00074 virtual ~AutoPanoSift() {} ; 00075 00076 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00077 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00078 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00079 int nFeatures, std::vector<wxString> &keyFiles, int & ret_value, wxWindow *parent=NULL); 00080 00081 private: 00082 00083 00084 }; 00085 00087 class AutoPanoKolor : public AutoCtrlPointCreator 00088 { 00089 public: 00090 00093 AutoPanoKolor() {}; 00094 00097 virtual ~AutoPanoKolor() {} ; 00098 00099 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00100 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00101 00102 private: 00103 00104 00105 }; 00106 00108 class AutoPanoSiftStack : public AutoCtrlPointCreator 00109 { 00110 public: 00111 00114 AutoPanoSiftStack() {}; 00115 00118 virtual ~AutoPanoSiftStack() {} ; 00119 00120 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00121 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00122 00123 private: 00124 00125 00126 }; 00127 00129 class AutoPanoSiftMultiRow : public AutoCtrlPointCreator 00130 { 00131 public: 00132 00135 AutoPanoSiftMultiRow() {}; 00136 00139 virtual ~AutoPanoSiftMultiRow() {} ; 00140 00141 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00142 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00143 00144 private: 00145 00146 00147 }; 00148 00150 class AutoPanoSiftMultiRowStack : public AutoCtrlPointCreator 00151 { 00152 public: 00153 00156 AutoPanoSiftMultiRowStack() {}; 00157 00160 virtual ~AutoPanoSiftMultiRowStack() {} ; 00161 00162 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00163 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00164 00165 private: 00166 00167 00168 }; 00169 00171 class AutoPanoSiftPreAlign : public AutoCtrlPointCreator 00172 { 00173 public: 00174 00177 AutoPanoSiftPreAlign() {}; 00178 00181 virtual ~AutoPanoSiftPreAlign() {} ; 00182 00183 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00184 int nFeatures, int & ret_value, wxWindow *parent=NULL); 00185 virtual CPVector automatch(CPDetectorSetting &setting, PT::Panorama & pano, const PT::UIntSet & imgs, 00186 int nFeatures, std::vector<wxString> &keyFiles, int & ret_value, wxWindow *parent=NULL); 00187 00188 private: 00189 00190 00191 }; 00192 00193 #endif // _AUTOCTRLPOINTCREATOR_H
1.3.9.1