huginApp.cpp File Reference

implementation of huginApp Class More...

#include <config.h>
#include "panoinc_WX.h"
#include "panoinc.h"
#include "hugin/config_defaults.h"
#include "hugin/huginApp.h"
#include "hugin/ImagesPanel.h"
#include "hugin/MaskEditorPanel.h"
#include "hugin/CPEditorPanel.h"
#include "hugin/OptimizePhotometricPanel.h"
#include "hugin/PanoPanel.h"
#include "hugin/ImagesList.h"
#include "hugin/PreviewPanel.h"
#include "hugin/GLPreviewFrame.h"
#include "base_wx/PTWXDlg.h"
#include "hugin/CommandHistory.h"
#include "hugin/wxPanoCommand.h"
#include "hugin/HtmlWindow.h"
#include "hugin/treelistctrl.h"
#include "hugin/ImagesTree.h"
#include "base_wx/platform.h"
#include "base_wx/huginConfig.h"
#include <tiffio.h>
#include "AboutDialog.h"
#include <hugin_version.h>
#include "hugin_utils/alphanum.h"
#include "lensdb/LensDB.h"

Include dependency graph for huginApp.cpp:

Include dependency graph

Go to the source code of this file.

Functions

bool checkVersion (wxString v1, wxString v2)
bool str2double (wxString s, double &d)
wxString Components2Str (const CPComponents &comp)
void RestoreFramePosition (wxTopLevelWindow *frame, const wxString &basename)
 Restore window size and position from configfile/registry.
void StoreFramePosition (wxTopLevelWindow *frame, const wxString &basename)
 Store window size and position in configfile/registry.


Detailed Description

implementation of huginApp Class

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file huginApp.cpp.


Function Documentation

bool checkVersion wxString  v1,
wxString  v2
 

Definition at line 72 of file huginApp.cpp.

References doj::alphanum_comp(), and makefile::string.

wxString Components2Str const CPComponents comp  ) 
 

Definition at line 89 of file huginApp.cpp.

Referenced by GLPreviewFrame::panoramaChanged(), and MainFrame::RunAssistant().

void RestoreFramePosition wxTopLevelWindow *  frame,
const wxString &  basename
 

Restore window size and position from configfile/registry.

Definition at line 569 of file huginApp.cpp.

References DEBUG_TRACE.

Referenced by CPDetectorDialog::CPDetectorDialog(), EVT_BUTTON(), EVT_TEXT(), GLPreviewFrame::GLPreviewFrame(), MaskLoadDialog::MaskLoadDialog(), LensCalApp::OnInit(), huginApp::OnInit(), and PreviewFrame::PreviewFrame().

void StoreFramePosition wxTopLevelWindow *  frame,
const wxString &  basename
 

Store window size and position in configfile/registry.

Definition at line 624 of file huginApp.cpp.

References DEBUG_TRACE.

Referenced by CPDetectorDialog::~CPDetectorDialog(), CPListFrame::~CPListFrame(), GLPreviewFrame::~GLPreviewFrame(), LensCalFrame::~LensCalFrame(), MainFrame::~MainFrame(), MaskLoadDialog::~MaskLoadDialog(), PreferencesDialog::~PreferencesDialog(), and PreviewFrame::~PreviewFrame().

bool str2double wxString  s,
double &  d
 

Definition at line 80 of file huginApp.cpp.

References hugin_utils::stringToDouble().

Referenced by ImageVariableDialog::ApplyNewVariables(), PanoPanel::HFOVChanged(), GLPreviewFrame::OnCropFactorChanged(), HFOVDialog::OnCropFactorChanged(), ImagesPanel::OnCropFactorChanged(), ImagesTreeCtrl::OnEndEdit(), GLPreviewFrame::OnExposureChanged(), GLPreviewFrame::OnFocalLengthChanged(), HFOVDialog::OnFocalLengthChanged(), ImagesPanel::OnFocalLengthChanged(), GLPreviewFrame::OnHFOVChanged(), HFOVDialog::OnHFOVChanged(), ImagesPanel::OnMaxEvDiffChanged(), ImagesPanel::OnMinimumOverlapChanged(), PreviewFrame::OnNumTransform(), LoadLensDBDialog::OnOk(), SaveLensDBDialog::OnOk(), GLPreviewFrame::OnProjParameterChanged(), CPListFrame::OnSelectButton(), ImageVariableDialog::OnShowDistortionGraph(), ImageVariableDialog::OnShowResponseGraph(), ImageVariableDialog::OnShowVignettingGraph(), PreviewFrame::OnTextCtrlChanged(), CPEditorPanel::OnTextPointChange(), GLPreviewFrame::OnVFOVChanged(), LensCalFrame::ReadInputs(), and PanoPanel::VFOVChanged().


Generated on Sun Aug 31 01:25:41 2014 for Hugintrunk by  doxygen 1.3.9.1