platform.h File Reference

implementation of huginApp Class More...

#include <hugin_shared.h>
#include "panoinc_WX.h"
#include <config.h>

Include dependency graph for platform.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Defines

#define HUGIN_CONV_FILENAME   (*wxConvFileName)
#define HUGIN_WX_FILE_IMG_FILTER   _("All Image files|*.jpg;*.JPG;*jpeg;*JPEG;*.tif;*.TIF;*.tiff;*.TIFF;*.png;*.PNG;*.bmp;*.BMP;*.gif;*.GIF;*.pnm;*.PNM;*.sun;*.viff;*.hdr;*.HDR;*.exr;*.EXR|JPEG files (*.jpg,*.jpeg)|*.jpg;*.JPG;*.jpeg;*.JPEG|TIFF files (*.tif,*.tiff)|*.tif;*.TIF;*.tiff;*.TIFF|PNG files (*.png)|*.png;*.PNG|HDR files (*.hdr)|*.hdr;*.HDR|EXR files (*.exr)|*.exr;*.EXR|All files (*)|*")

Functions

WXIMPEX const wxString getInvalidCharacters ()
 returns all invalid characters for the filename (mainly characters, which does not work with gnu make)
WXIMPEX bool containsInvalidCharacters (const wxString stringToTest)
 returns true, if the given strings contains invalid characters
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


Detailed Description

implementation of huginApp Class

Author:
Pablo d'Angelo <pablo.dangelo@web.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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file platform.h.


Define Documentation

#define HUGIN_CONV_FILENAME   (*wxConvFileName)
 

Definition at line 37 of file platform.h.

Referenced by PanoOperation::AddImageDialog(), MainFrame::AddImages(), AutoPanoKolor::automatch(), AutoPanoSift::automatch(), RunStitchPanel::DetectProject(), PanoPanel::DoStitch(), EVT_LIST_ITEM_ACTIVATED(), PossiblePano::GeneratePanorama(), LensCalImageCtrl::GenerateRemappedImage(), PanoOperation::AddImagesSeriesOperation::GetInternalCommand(), getProgram(), getPTProgramsConfig(), MainFrame::GetSVMModel(), MainFrame::LoadProjectFile(), MainFrame::OnApplyTemplate(), PanoDropTarget::OnDropFiles(), LensCalFrame::OnFindLines(), huginApp::OnInit(), LensCalApp::OnInit(), MainFrame::OnLoadProject(), MaskEditorPanel::OnMaskLoad(), MaskEditorPanel::OnMaskSave(), MainFrame::OnMergeProject(), iCPApp::OnRun(), MainFrame::OnSaveProject(), LensCalFrame::OnSaveProject(), MainFrame::OnSavePTStitcherAs(), PT::wxApplyTemplateCmd::processPanorama(), PT::wxLoadPTProjectCmd::processPanorama(), Project::ReadOptions(), MainFrame::RunAssistant(), SaveCameraCropFactor(), SaveLensParameters(), FindPanoDialog::SearchInDir(), ImageLineList::SetFilename(), LensCalImageCtrl::SetImage(), and RunStitchPanel::StitchProject().

#define HUGIN_WX_FILE_IMG_FILTER   _("All Image files|*.jpg;*.JPG;*jpeg;*JPEG;*.tif;*.TIF;*.tiff;*.TIFF;*.png;*.PNG;*.bmp;*.BMP;*.gif;*.GIF;*.pnm;*.PNM;*.sun;*.viff;*.hdr;*.HDR;*.exr;*.EXR|JPEG files (*.jpg,*.jpeg)|*.jpg;*.JPG;*.jpeg;*.JPEG|TIFF files (*.tif,*.tiff)|*.tif;*.TIF;*.tiff;*.TIFF|PNG files (*.png)|*.png;*.PNG|HDR files (*.hdr)|*.hdr;*.HDR|EXR files (*.exr)|*.exr;*.EXR|All files (*)|*")
 

Definition at line 40 of file platform.h.

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


Function Documentation

WXIMPEX bool containsInvalidCharacters const wxString  stringToTest  ) 
 

returns true, if the given strings contains invalid characters

Definition at line 453 of file platform.cpp.

References getInvalidCharacters().

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

WXIMPEX const wxString getInvalidCharacters  ) 
 

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

Definition at line 438 of file platform.cpp.

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

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 466 of file platform.cpp.

References getInvalidCharacters().

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


Generated on Mon Jul 28 01:25:43 2014 for Hugintrunk by  doxygen 1.3.9.1