PanoOperation.cpp File Reference

Implementation of PanoOperation class. More...

#include "hugin/PanoOperation.h"
#include "hugin/config_defaults.h"
#include "hugin/wxPanoCommand.h"
#include "huginapp/ImageCache.h"
#include "base_wx/MyProgressDialog.h"
#include "base_wx/PTWXDlg.h"
#include "algorithms/optimizer/ImageGraph.h"
#include "algorithms/control_points/CleanCP.h"
#include "celeste/Celeste.h"
#include <exiv2/exif.hpp>
#include <exiv2/image.hpp>
#include "base_wx/LensTools.h"
#include "base_wx/wxLensDB.h"
#include "hugin/ResetDialog.h"
#include "hugin/MainFrame.h"

Include dependency graph for PanoOperation.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  PanoOperation

Classes

struct  PanoOperation::sortbytime

Functions

bool AddImageDialog (wxWindow *parent, std::vector< std::string > &files)
 small function to show add image dialog
 WX_DECLARE_STRING_HASH_MAP (time_t, StringToPointerHash)
 WX_DECLARE_STRING_HASH_MAP (int, StringToFlagHash)
time_t ReadExifTime (const char *filename)
PanoOperationVectorGetImagesOperationVector ()
 returns list of PanoOperation for work with images
PanoOperationVectorGetLensesOperationVector ()
 returns list of PanoOperation for work with lenses
PanoOperationVectorGetStacksOperationVector ()
 returns list of PanoOperation for stacks
PanoOperationVectorGetControlPointsOperationVector ()
 returns list of PanoOperation for work with control points
PanoOperationVectorGetResetOperationVector ()
 returns list of PanoOperation for resetting
void GeneratePanoOperationVector ()
 generates the PanoOperationVector for context menu
void _CleanPanoOperationVector (PanoOperationVector &vec)
void CleanPanoOperationVector ()
 clears the PanoOperationVector

Variables

PanoOperationVector PanoOpImages
PanoOperationVector PanoOpLens
PanoOperationVector PanoOpStacks
PanoOperationVector PanoOpControlPoints
PanoOperationVector PanoOpReset


Detailed Description

Implementation of PanoOperation class.

Definition in file PanoOperation.cpp.


Function Documentation

void _CleanPanoOperationVector PanoOperationVector vec  ) 
 

Definition at line 1225 of file PanoOperation.cpp.

Referenced by PanoOperation::CleanPanoOperationVector().

bool AddImageDialog wxWindow *  parent,
std::vector< std::string > &  files
 

small function to show add image dialog

Parameters:
parent pointer to window, for showing dialog
files vector, to which the selected valid filenames will be added
Returns:
true, if a valid image was selected, otherwise false

Definition at line 85 of file PanoOperation.cpp.

References containsInvalidCharacters(), HUGIN_CONV_FILENAME, HUGIN_WX_FILE_IMG_FILTER, makefile::path, and ShowFilenameWarning().

Referenced by PanoOperation::AddImagesSeriesOperation::GetInternalCommand(), and PanoOperation::AddImageOperation::GetInternalCommand().

void PanoOperation::PanoOperation::CleanPanoOperationVector  ) 
 

clears the PanoOperationVector

Definition at line 1234 of file PanoOperation.cpp.

References PanoOperation::_CleanPanoOperationVector(), PanoOperation::PanoOpControlPoints, PanoOperation::PanoOpImages, PanoOperation::PanoOpLens, PanoOperation::PanoOpReset, and PanoOperation::PanoOpStacks.

Referenced by MainFrame::~MainFrame().

void PanoOperation::PanoOperation::GeneratePanoOperationVector  ) 
 

generates the PanoOperationVector for context menu

Definition at line 1192 of file PanoOperation.cpp.

References PanoOperation::PanoOpControlPoints, PanoOperation::PanoOpImages, PanoOperation::PanoOpLens, PanoOperation::PanoOpReset, and PanoOperation::PanoOpStacks.

Referenced by MainFrame::MainFrame().

PanoOperationVector * PanoOperation::PanoOperation::GetControlPointsOperationVector  ) 
 

returns list of PanoOperation for work with control points

Definition at line 1182 of file PanoOperation.cpp.

References PanoOperation::PanoOperationVector.

PanoOperationVector * PanoOperation::PanoOperation::GetImagesOperationVector  ) 
 

returns list of PanoOperation for work with images

Definition at line 1167 of file PanoOperation.cpp.

References PanoOperation::PanoOperationVector.

PanoOperationVector * PanoOperation::PanoOperation::GetLensesOperationVector  ) 
 

returns list of PanoOperation for work with lenses

Definition at line 1172 of file PanoOperation.cpp.

References PanoOperation::PanoOperationVector.

PanoOperationVector * PanoOperation::PanoOperation::GetResetOperationVector  ) 
 

returns list of PanoOperation for resetting

Definition at line 1187 of file PanoOperation.cpp.

References PanoOperation::PanoOperationVector.

PanoOperationVector * PanoOperation::PanoOperation::GetStacksOperationVector  ) 
 

returns list of PanoOperation for stacks

Definition at line 1177 of file PanoOperation.cpp.

References PanoOperation::PanoOperationVector.

time_t ReadExifTime const char *  filename  ) 
 

Definition at line 187 of file PanoOperation.cpp.

Referenced by PanoOperation::AddImagesSeriesOperation::GetInternalCommand().

WX_DECLARE_STRING_HASH_MAP int  ,
StringToFlagHash 
 

WX_DECLARE_STRING_HASH_MAP time_t  ,
StringToPointerHash 
 


Variable Documentation

PanoOperationVector PanoOperation::PanoOpControlPoints [static]
 

Definition at line 1164 of file PanoOperation.cpp.

Referenced by PanoOperation::CleanPanoOperationVector(), and PanoOperation::GeneratePanoOperationVector().

PanoOperationVector PanoOperation::PanoOpImages [static]
 

Definition at line 1161 of file PanoOperation.cpp.

Referenced by PanoOperation::CleanPanoOperationVector(), and PanoOperation::GeneratePanoOperationVector().

PanoOperationVector PanoOperation::PanoOpLens [static]
 

Definition at line 1162 of file PanoOperation.cpp.

Referenced by PanoOperation::CleanPanoOperationVector(), and PanoOperation::GeneratePanoOperationVector().

PanoOperationVector PanoOperation::PanoOpReset [static]
 

Definition at line 1165 of file PanoOperation.cpp.

Referenced by PanoOperation::CleanPanoOperationVector(), and PanoOperation::GeneratePanoOperationVector().

PanoOperationVector PanoOperation::PanoOpStacks [static]
 

Definition at line 1163 of file PanoOperation.cpp.

Referenced by PanoOperation::CleanPanoOperationVector(), and PanoOperation::GeneratePanoOperationVector().


Generated on Tue Sep 16 01:25:42 2014 for Hugintrunk by  doxygen 1.3.9.1