00001 // -*- c-basic-offset: 4 -*- 00010 /* This is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2 of the License, or (at your option) any later version. 00014 * 00015 * This software is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public 00021 * License along with this software; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00023 * 00024 */ 00025 00026 #ifndef _PANOOUTPUTDIALOG_H 00027 #define _PANOOUTPUTDIALOG_H 00028 00029 #include "panoinc_WX.h" 00030 #include "panoinc.h" 00031 #include "GuiLevel.h" 00032 00034 class PanoOutputDialog : public wxDialog 00035 { 00036 public: 00038 PanoOutputDialog(wxWindow *parent, PT::Panorama& pano, GuiLevel guiLevel); 00040 ~PanoOutputDialog(); 00041 HuginBase::PanoramaOptions GetNewPanoramaOptions() {return m_newOpt; } ; 00042 protected: 00044 void OnOk(wxCommandEvent & e); 00046 void OnOutputChanged(wxCommandEvent & e); 00048 void OnLDRFormatChanged(wxCommandEvent & e); 00050 void OnHDRFormatChanged(wxCommandEvent & e); 00052 void OnWidthChanged(wxSpinEvent & e); 00054 void OnHeightChanged(wxSpinEvent & e); 00055 00056 private: 00057 void EnableOutputOptions(); 00058 00059 HuginBase::PanoramaOptions m_newOpt; 00060 PT::Panorama& m_pano; 00061 double m_initalWidth; 00062 double m_initalROIWidth; 00063 double m_aspect; 00064 GuiLevel m_guiLevel; 00065 00066 wxSpinCtrl* m_edit_width; 00067 wxSpinCtrl* m_edit_height; 00068 00069 std::vector<HuginBase::UIntSet> m_stacks; 00070 std::vector<HuginBase::UIntSet> m_exposureLayers; 00071 00072 DECLARE_EVENT_TABLE() 00073 }; 00074 00075 #endif //_PANOOUTPUTDIALOG_H
1.3.9.1