Hugin trunk 0.1
Loading...
Searching...
No Matches
PanoOutputDialog.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 _PANOOUTPUTDIALOG_H
27#define _PANOOUTPUTDIALOG_H
28
29#include "panoinc_WX.h"
30#include "panoinc.h"
31#include "GuiLevel.h"
32
34class PanoOutputDialog : public wxDialog
35{
36public:
42protected:
44 void OnOk(wxCommandEvent & e);
46 void OnOutputChanged(wxCommandEvent & e);
48 void OnLDRFormatChanged(wxCommandEvent & e);
50 void OnHDRFormatChanged(wxCommandEvent & e);
55
56private:
58
63 double m_aspect;
65
68
69 std::vector<HuginBase::UIntSet> m_stacks;
70 std::vector<HuginBase::UIntSet> m_exposureLayers;
71};
72
73#endif //_PANOOUTPUTDIALOG_H
declaration of helper for work with different GuiLevels
GuiLevel
Definition GuiLevel.h:32
Panorama image options.
Model for a panorama.
Definition Panorama.h:153
Dialog for setting output parameters for simple user interface.
void OnLDRFormatChanged(wxCommandEvent &e)
LDR format changed.
void OnWidthChanged(wxSpinEvent &e)
width changed
std::vector< HuginBase::UIntSet > m_exposureLayers
void OnHDRFormatChanged(wxCommandEvent &e)
HDR format changed.
~PanoOutputDialog()
destructor, save position
wxSpinCtrl * m_edit_width
void OnHeightChanged(wxSpinEvent &e)
height changed
std::vector< HuginBase::UIntSet > m_stacks
void OnOutputChanged(wxCommandEvent &e)
enabled Ok button and LDR/HDR format settings depeding on selected output settings
HuginBase::PanoramaOptions m_newOpt
void OnOk(wxCommandEvent &e)
Saves current state of all checkboxes when closing dialog with Ok.
wxSpinCtrl * m_edit_height
HuginBase::PanoramaOptions GetNewPanoramaOptions()
HuginBase::Panorama & m_pano
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