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

implementation of CPEditorPanel Class More...

#include "hugin_config.h"
#include "panoinc_WX.h"
#include "panoinc.h"
#include "hugin/huginApp.h"
#include "hugin/config_defaults.h"
#include "base_wx/CommandHistory.h"
#include "base_wx/wxImageCache.h"
#include "hugin/CPImageCtrl.h"
#include "hugin/TextKillFocusHandler.h"
#include "hugin/CPEditorPanel.h"
#include "base_wx/wxPanoCommand.h"
#include "base_wx/MyProgressDialog.h"
#include "algorithms/optimizer/PTOptimizer.h"
#include "algorithms/basic/CalculateOptimalScale.h"
#include "base_wx/PTWXDlg.h"
#include "base_wx/wxPlatform.h"
#include <algorithm>
#include <float.h>
#include <vector>
#include "vigra/cornerdetection.hxx"
#include "vigra/localminmax.hxx"
#include "vigra_ext/openmp_vigra.h"
#include "vigra_ext/Correlation.h"
#include "vigra_ext/cms.h"
#include "Celeste.h"
Include dependency graph for CPEditorPanel.cpp:

Go to the source code of this file.

Macros

#define SORTASCENDING(functionName, var)
 
#define SORTDESCENDING(functionName, var)
 

Functions

void SetColumnImage (wxListCtrl *list, int col, int image)
 
int wxCALLBACK SortIndexDescending (wxIntPtr item1, wxIntPtr item2, wxIntPtr WXUNUSED(sortData))
 
int wxCALLBACK SortIndexAscending (wxIntPtr item1, wxIntPtr item2, wxIntPtr WXUNUSED(sortData))
 
HuginBase::SrcPanoImage GetImageRotatedTo (const HuginBase::SrcPanoImage &img, const vigra::Diff2D &point, int testWidth, double &neededHFOV)
 
vigra_ext::CorrelationResult PointFineTuneProjectionAware (const HuginBase::SrcPanoImage &templ, const vigra::UInt8RGBImage &templImg, vigra::Diff2D templPos, int templSize, const HuginBase::SrcPanoImage &search, const vigra::UInt8RGBImage &searchImg, vigra::Diff2D searchPos, int sWidth)
 function for fine-tune with remapping to stereographic projection More...
 

Detailed Description

implementation of CPEditorPanel Class

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.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 CPEditorPanel.cpp.

Macro Definition Documentation

#define SORTASCENDING (   functionName,
  var 
)
Value:
int wxCALLBACK functionName(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData)\
{\
if (data->at(item1).second.var > data->at(item2).second.var)\
return 1;\
if (data->at(item1).second.var < data->at(item2).second.var)\
return -1;\
return 0;\
}
options wxIntPtr item2
std::vector< CPoint > CPointVector
Definition: ControlPoint.h:102
options wxIntPtr wxIntPtr sortData std::vector< PanoInfo > * data

Definition at line 472 of file CPEditorPanel.cpp.

#define SORTDESCENDING (   functionName,
  var 
)
Value:
int wxCALLBACK functionName(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData)\
{\
if (data->at(item1).second.var < data->at(item2).second.var)\
return 1; \
if (data->at(item1).second.var > data->at(item2).second.var)\
return -1; \
return 0; \
}
options wxIntPtr item2
std::vector< CPoint > CPointVector
Definition: ControlPoint.h:102
options wxIntPtr wxIntPtr sortData std::vector< PanoInfo > * data

Definition at line 483 of file CPEditorPanel.cpp.

Function Documentation

HuginBase::SrcPanoImage GetImageRotatedTo ( const HuginBase::SrcPanoImage img,
const vigra::Diff2D &  point,
int  testWidth,
double &  neededHFOV 
)
vigra_ext::CorrelationResult PointFineTuneProjectionAware ( const HuginBase::SrcPanoImage templ,
const vigra::UInt8RGBImage &  templImg,
vigra::Diff2D  templPos,
int  templSize,
const HuginBase::SrcPanoImage search,
const vigra::UInt8RGBImage &  searchImg,
vigra::Diff2D  searchPos,
int  sWidth 
)
void SetColumnImage ( wxListCtrl *  list,
int  col,
int  image 
)
int wxCALLBACK SortIndexAscending ( wxIntPtr  item1,
wxIntPtr  item2,
wxIntPtr   WXUNUSEDsortData 
)

Definition at line 463 of file CPEditorPanel.cpp.

Referenced by CPEditorPanel::SortList().

int wxCALLBACK SortIndexDescending ( wxIntPtr  item1,
wxIntPtr  item2,
wxIntPtr   WXUNUSEDsortData 
)

Definition at line 454 of file CPEditorPanel.cpp.

Referenced by CPEditorPanel::SortList().