Hugin trunk 0.1
Loading...
Searching...
No Matches
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
34class RawImportDialog : public wxDialog
35{
36public:
38 RawImportDialog(wxWindow *parent, HuginBase::Panorama* pano, std::vector<std::string>& rawFiles);
44 bool CheckRawFiles();
45
46protected:
48 void OnOk(wxCommandEvent & e);
49 void OnSelectRTProcessingProfile(wxCommandEvent& e);
50 void OnRawConverterSelected(wxCommandEvent & e);
51
52private:
54 void FillImageChoice();
59};
60
61#endif //_RAW_IMPORT_H
Model for a panorama.
Definition Panorama.h:153
Base class for all panorama commands.
Definition Command.h:39
Dialog for raw import.
Definition RawImport.h:35
bool CheckRawFiles()
return true, if all raw files are from the same camera
void OnSelectRTProcessingProfile(wxCommandEvent &e)
PanoCommand::PanoCommand * m_cmd
Definition RawImport.h:58
PanoCommand::PanoCommand * GetPanoCommand()
return PanoCommand for adding converted raw files to Panorama
void OnRawConverterSelected(wxCommandEvent &e)
void OnOk(wxCommandEvent &e)
called when dialog is finished and does the conversion
wxArrayString m_images
Definition RawImport.h:57
~RawImportDialog()
destructor, saves position
void FillImageChoice()
fill list with image names
HuginBase::Panorama * m_pano
Definition RawImport.h:55
wxArrayString m_rawImages
Definition RawImport.h:56
include file for the hugin project
include file for the hugin project
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41