huginConfig.h File Reference

functions for interaction with the hugin configuration file More...

#include <hugin_shared.h>
#include <panodata/Panorama.h>
#include <panoinc_WX.h>

Include dependency graph for huginConfig.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

WXIMPEX wxString getDefaultProjectName (const HuginBase::Panorama &pano, const wxString filenameTemplate=wxT(""))
 gets the default project name, as defined in the preferences
WXIMPEX wxString getDefaultOutputName (const wxString projectname, const HuginBase::Panorama &pano, const wxString filenameTemplate=wxT(""))
 gets the default output prefix, based on filename and images in project the setting is read from the preferences


Detailed Description

functions for interaction with the hugin configuration file

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, see <http://www.gnu.org/licenses/>.

Definition in file huginConfig.h.


Function Documentation

WXIMPEX wxString getDefaultOutputName ( const wxString  projectname,
const HuginBase::Panorama pano,
const wxString  filenameTemplate = wxT("") 
)

gets the default output prefix, based on filename and images in project the setting is read from the preferences

Definition at line 134 of file huginConfig.cpp.

References FillDefaultPlaceholders(), FillPlaceholders(), getDefaultProjectName(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HUGIN_CONV_FILENAME, and HUGIN_DEFAULT_PROJECT_NAME.

Referenced by PanoPanel::DoSendToBatch(), PanoPanel::DoStitch(), PanoPanel::DoUserDefinedStitch(), HuginExecutor::OnRun(), PreferencesDialog::OnUpdateOutputFilename(), and Project::ReadOptions().

WXIMPEX wxString getDefaultProjectName ( const HuginBase::Panorama pano,
const wxString  filenameTemplate = wxT("") 
)

gets the default project name, as defined in the preferences

Definition at line 88 of file huginConfig.cpp.

References FillDefaultPlaceholders(), FillPlaceholders(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HUGIN_CONV_FILENAME, and HUGIN_DEFAULT_PROJECT_NAME.

Referenced by getDefaultOutputName(), PossiblePano::GetNewProjectFilename(), MainFrame::OnSaveProjectAs(), MainFrame::OnSavePTStitcherAs(), and PreferencesDialog::OnUpdateProjectFilename().


Generated on 30 Jul 2015 for Hugintrunk by  doxygen 1.4.7