LensTools.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00010 /*
00011  *  This is free software; you can redistribute it and/or
00012  *  modify it under the terms of the GNU General Public
00013  *  License as published by the Free Software Foundation; either
00014  *  version 2 of the License, or (at your option) any later version.
00015  *
00016  *  This software is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  *  Lesser General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU General Public
00022  *  License along with this software; if not, write to the Free Software
00023  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00024  *
00025  */
00026 
00027 #ifndef LENSTOOLS_H
00028 #define LENSTOOLS_H
00029 
00030 #include <hugin_shared.h>
00031 #include "panoinc_WX.h"
00032 #include "panoinc.h"
00033 
00036 WXIMPEX void FillLensProjectionList(wxControlWithItems* list);
00038 WXIMPEX void SelectProjection(wxControlWithItems* list,size_t new_projection);
00040 WXIMPEX size_t GetSelectedProjection(wxControlWithItems* list);
00041 
00043 WXIMPEX void SaveLensParameters(const wxString filename, HuginBase::Panorama* pano, unsigned int imgNr);
00045 WXIMPEX void SaveLensParametersToIni(wxWindow * parent, PT::Panorama *pano, const HuginBase::UIntSet images);
00046 
00054 WXIMPEX bool ApplyLensParameters(wxWindow * parent, PT::Panorama *pano, HuginBase::UIntSet images,PT::PanoCommand*& command);
00063 WXIMPEX bool LoadLensParametersChoose(wxWindow * parent, HuginBase::Lens & lens, 
00064     bool & cropped, bool & autoCenterCrop, vigra::Rect2D & cropRect);
00065 
00066 
00067 #endif // LENSTOOLS_H

Generated on 27 Nov 2014 for Hugintrunk by  doxygen 1.4.7