Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
platform.h File Reference

implementation of huginApp Class More...

#include <hugin_shared.h>
#include "panoinc_WX.h"
#include "hugin_config.h"
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HUGIN_CONV_FILENAME   (*wxConvFileName)
 

Functions

WXIMPEX wxString GetFileDialogImageFilters ()
 return filter for image files, needed by file open dialog it contains all image format vigra can read and some other format More...
 
WXIMPEX wxString GetFileDialogImageAndRawFilters ()
 return filter for image and raw files, needed by file open dialog More...
 
WXIMPEX bool IsRawExtension (const wxString &testExt)
 return true, if given extension is in list of known raw extension (comparision is case insensitive More...
 
WXIMPEX const wxString getInvalidCharacters ()
 returns all invalid characters for the filename (mainly characters, which does not work with gnu make) More...
 
WXIMPEX bool containsInvalidCharacters (const wxString stringToTest)
 returns true, if the given strings contains invalid characters More...
 
WXIMPEX void ShowFilenameWarning (wxWindow *parent, const wxArrayString filelist)
 shows a dialog about filename with invalid characters, all names in filelist will be show in list More...
 

Detailed Description

implementation of huginApp Class

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de
Id:
huginApp.cpp 2510 2007-10-28 22:24:11Z dangelo

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 platform.h.

Macro Definition Documentation

#define HUGIN_CONV_FILENAME   (*wxConvFileName)

Definition at line 40 of file platform.h.

Referenced by PanoOperation::AddImageDialog(), MainFrame::AddImages(), AutoPanoSift::automatch(), AutoPanoKolor::automatch(), RawImportDialog::CheckRawFiles(), RunStitchPanel::DetectProject(), GenerateSequenceDialog::DoGeneratePanorama(), PanoPanel::DoStitch(), PanoOutputDialog::EnableOutputOptions(), FillPlaceholders(), PossiblePano::GeneratePanorama(), LensCalImageCtrl::GenerateRemappedImage(), HuginQueue::GetAssistantCommandQueueUserDefined(), RTRawImport::GetCmdQueueForReference(), PossiblePano::GetDateTime(), getDefaultOutputName(), getDefaultProjectName(), PossiblePano::GetFilestring(), PanoOperation::AddImagesSeriesOperation::GetInternalCommand(), GetNewProjectFilename(), HuginQueue::GetStitchingCommandQueue(), HuginQueue::GetStitchingCommandQueueUserOutput(), MainFrame::GetSVMModel(), HFOVDialog::HFOVDialog(), Papywizard::ImportPapywizardFile(), MainFrame::LoadProjectFile(), MainFrame::OnApplyTemplate(), HuginExecutor::OnCmdLineParsed(), PanoDropTarget::OnDropFiles(), LensCalFrame::OnFindLines(), huginApp::OnInit(), MainFrame::OnLoadingFailed(), MainFrame::OnLoadProject(), MaskEditorPanel::OnMaskLoad(), MaskEditorPanel::OnMaskSave(), MainFrame::OnMergeProject(), RawImportDialog::OnOk(), LensCalFrame::OnRemoveImage(), iCPApp::OnRun(), HuginExecutor::OnRun(), LensCalFrame::OnSaveProject(), MainFrame::OnSaveProject(), MainFrame::OnSavePTStitcherAs(), PanoCommand::FileIsNewer::operator()(), PreviewFrame::panoramaImagesChanged(), CPEditorPanel::panoramaImagesChanged(), GLPreviewFrame::panoramaImagesChanged(), BrowsePTOFilesDialog::ParsePTOFile(), PossiblePano::PopulateListCtrl(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), DarkTableRawImport::ProcessReferenceOutput(), RawImportDialog::RawImportDialog(), Project::ReadOptions(), GenerateSequenceDialog::ReadPTOFile(), huginApp::relayImageLoaded(), MainFrame::RunAssistant(), FindPanoDialog::SearchInDir(), ImageLineList::SetFilename(), LensCalImageCtrl::SetImage(), MaskImageCtrl::setImage(), CPImageCtrl::setImage(), RunStitchPanel::StitchProject(), ImagesTreeCtrl::UpdateImageText(), ImagesListMask::UpdateItem(), PreviewFrame::updateProgressDisplay(), LensCalFrame::updateProgressDisplay(), and MainFrame::updateProgressDisplay().

Function Documentation

WXIMPEX bool containsInvalidCharacters ( const wxString  stringToTest)
WXIMPEX wxString GetFileDialogImageAndRawFilters ( )

return filter for image and raw files, needed by file open dialog

Definition at line 81 of file platform.cpp.

References GetFilterExtensions(), hugin_utils::GetRawExtensions(), and GetVigraImageFilter().

Referenced by PanoOperation::AddImageDialog().

WXIMPEX wxString GetFileDialogImageFilters ( )

return filter for image files, needed by file open dialog it contains all image format vigra can read and some other format

Definition at line 69 of file platform.cpp.

References GetFilterExtensions(), and GetVigraImageFilter().

Referenced by PanoOperation::AddImageDialog(), LensCalFrame::OnAddImage(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), and PanoCommand::wxApplyTemplateCmd::processPanorama().

WXIMPEX const wxString getInvalidCharacters ( )

returns all invalid characters for the filename (mainly characters, which does not work with gnu make)

Definition at line 487 of file platform.cpp.

Referenced by containsInvalidCharacters(), stitchApp::OnInit(), and ShowFilenameWarning().

WXIMPEX bool IsRawExtension ( const wxString &  testExt)

return true, if given extension is in list of known raw extension (comparision is case insensitive

Definition at line 103 of file platform.cpp.

References hugin_utils::GetRawExtensions().

Referenced by PanoDropTarget::OnDropFiles(), and huginApp::OnInit().

WXIMPEX void ShowFilenameWarning ( wxWindow *  parent,
const wxArrayString  filelist 
)

shows a dialog about filename with invalid characters, all names in filelist will be show in list

Definition at line 515 of file platform.cpp.

References getInvalidCharacters().

Referenced by PanoOperation::AddImageDialog(), MainFrame::AddImages(), PanoPanel::DoSendToBatch(), PanoPanel::DoStitch(), LensCalFrame::OnAddImage(), BatchFrame::OnButtonChangePrefix(), FileDropTarget::OnDropFiles(), and PanoDropTarget::OnDropFiles().