Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawImport.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
10 /* This is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This software is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public
21  * License along with this software. If not, see
22  * <http://www.gnu.org/licenses/>.
23  *
24  */
25 
26 #ifndef _RAW_IMPORT_H
27 #define _RAW_IMPORT_H
28 
29 #include "panoinc_WX.h"
30 #include "panoinc.h"
31 #include "base_wx/Command.h"
32 
34 class RawImportDialog : public wxDialog
35 {
36 public:
38  RawImportDialog(wxWindow *parent, HuginBase::Panorama* pano, std::vector<std::string>& rawFiles);
44  bool CheckRawFiles();
45 
46 protected:
48  void OnOk(wxCommandEvent & e);
49  void OnSelectRTProcessingProfile(wxCommandEvent& e);
50  void OnRawConverterSelected(wxCommandEvent & e);
51 
52 private:
54  void FillImageChoice();
56  wxArrayString m_rawImages;
57  wxArrayString m_images;
59 
60  DECLARE_EVENT_TABLE()
61 };
62 
63 #endif //_RAW_IMPORT_H
Base class for all panorama commands.
Definition: Command.h:38
void OnOk(wxCommandEvent &e)
called when dialog is finished and does the conversion
Definition: RawImport.cpp:775
RawImportDialog(wxWindow *parent, HuginBase::Panorama *pano, std::vector< std::string > &rawFiles)
Constructor, read from xrc ressource; restore last uses settings and position.
Definition: RawImport.cpp:608
void OnSelectRTProcessingProfile(wxCommandEvent &e)
Definition: RawImport.cpp:893
wxArrayString m_rawImages
Definition: RawImport.h:56
include file for the hugin project
void FillImageChoice()
fill list with image names
Definition: RawImport.cpp:932
Dialog for raw import.
Definition: RawImport.h:34
PanoCommand::PanoCommand * m_cmd
Definition: RawImport.h:58
Model for a panorama.
Definition: Panorama.h:152
PanoCommand::PanoCommand * GetPanoCommand()
return PanoCommand for adding converted raw files to Panorama
Definition: RawImport.cpp:663
~RawImportDialog()
destructor, saves position
Definition: RawImport.cpp:658
void OnRawConverterSelected(wxCommandEvent &e)
Definition: RawImport.cpp:903
include file for the hugin project
HuginBase::Panorama * m_pano
Definition: RawImport.h:55
wxArrayString m_images
Definition: RawImport.h:57
bool CheckRawFiles()
return true, if all raw files are from the same camera
Definition: RawImport.cpp:668