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

implementation of GLPreviewFrame Class More...

#include <bitset>
#include <limits>
#include <iostream>
#include "hugin_config.h"
#include <GL/glew.h>
#include "panoinc_WX.h"
#include "panoinc.h"
#include <wx/msgdlg.h>
#include "base_wx/platform.h"
#include "base_wx/wxPlatform.h"
#include "base_wx/LensTools.h"
#include "algorithms/optimizer/ImageGraph.h"
#include "algorithms/basic/LayerStacks.h"
#include <algorithms/basic/CalculateOptimalROI.h>
#include <algorithms/basic/CalculateCPStatistics.h>
#include <algorithms/nona/FitPanorama.h>
#include <algorithms/basic/CalculateMeanExposure.h>
#include "base_wx/MyProgressDialog.h"
#include "base_wx/wxPanoCommand.h"
#include "hugin/config_defaults.h"
#include "hugin/GLPreviewFrame.h"
#include "hugin/huginApp.h"
#include "hugin/MainFrame.h"
#include "hugin/ImagesPanel.h"
#include "base_wx/CommandHistory.h"
#include "hugin/GLViewer.h"
#include "hugin/TextKillFocusHandler.h"
#include "hugin/PanoOperation.h"
#include "hugin/PanoOutputDialog.h"
#include "hugin/SelectCropAspectRatioDialog.h"
#include "base_wx/PTWXDlg.h"
#include "vigra_ext/InterestPoints.h"
#include "vigra_ext/Correlation.h"
#include "algorithms/control_points/CleanCP.h"
#include "hugin_utils/openmp_lock.h"
#include <pano13/queryfeature.h>
#include "ToolHelper.h"
#include "Tool.h"
#include "DragTool.h"
#include "PreviewCropTool.h"
#include "PreviewIdentifyTool.h"
#include "PreviewCameraTool.h"
#include "PreviewDifferenceTool.h"
#include "PreviewPanoMaskTool.h"
#include "PreviewControlPointTool.h"
#include "PreviewLayoutLinesTool.h"
#include "PreviewColorPickerTool.h"
#include "PreviewGuideTool.h"
#include "PreviewEditCPTool.h"
#include "ProjectionGridTool.h"
#include "PanosphereSphereTool.h"
#include "OverviewCameraTool.h"
#include "OverviewOutlinesTool.h"
#include <wx/progdlg.h>
#include <wx/infobar.h>

Go to the source code of this file.

Classes

struct  FindStruct
 

Macros

#define PF_STYLE   (wxMAXIMIZE_BOX | wxMINIMIZE_BOX | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN)
 
#define MAX_DIMENSION   1600
 

Typedefs

typedef std::vector< FindStructFindVector
 
typedef std::multimap< double,
vigra::Diff2D > 
MapPoints
 

Enumerations

enum  {
  ID_TOGGLE_BUT = wxID_HIGHEST+500, PROJ_PARAM_NAMES_ID = wxID_HIGHEST+1300, PROJ_PARAM_VAL_ID = wxID_HIGHEST+1400, PROJ_PARAM_SLIDER_ID = wxID_HIGHEST+1500,
  PROJ_PARAM_RESET_ID = wxID_HIGHEST+1550, ID_TOGGLE_BUT_LEAVE = wxID_HIGHEST+1600, ID_FULL_SCREEN = wxID_HIGHEST+1710, ID_SHOW_ALL = wxID_HIGHEST+1711,
  ID_SHOW_NONE = wxID_HIGHEST+1712, ID_HIDE_HINTS = wxID_HIGHEST+1715, ID_ASSISTANT_MENU = wxID_HIGHEST+1800, ID_CREATEPANO_MENU = wxID_HIGHEST+1810,
  ID_ASS_LOAD_IMAGES = wxID_HIGHEST+1820
}
 
enum  {
  mode_assistant =0, mode_preview, mode_layout, mode_projection,
  mode_drag, mode_crop
}
 enum, which contains all different toolbar modes More...
 

Functions

void ShowFisheyeCropHint ()
 

Variables

static hugin_omp::Lock cpLock
 

Detailed Description

implementation of GLPreviewFrame Class

Author
James Legg and Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de
Darko Makreshanski

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 GLPreviewFrame.cpp.

Macro Definition Documentation

#define MAX_DIMENSION   1600

Definition at line 3402 of file GLPreviewFrame.cpp.

Referenced by GLPreviewFrame::OnCreateCP().

#define PF_STYLE   (wxMAXIMIZE_BOX | wxMINIMIZE_BOX | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN)

Definition at line 228 of file GLPreviewFrame.cpp.

Typedef Documentation

typedef std::vector<FindStruct> FindVector

Definition at line 3410 of file GLPreviewFrame.cpp.

typedef std::multimap<double, vigra::Diff2D> MapPoints

Definition at line 3411 of file GLPreviewFrame.cpp.

Enumeration Type Documentation

anonymous enum
Enumerator
ID_TOGGLE_BUT 
PROJ_PARAM_NAMES_ID 
PROJ_PARAM_VAL_ID 
PROJ_PARAM_SLIDER_ID 
PROJ_PARAM_RESET_ID 
ID_TOGGLE_BUT_LEAVE 
ID_FULL_SCREEN 
ID_SHOW_ALL 
ID_SHOW_NONE 
ID_HIDE_HINTS 
ID_ASSISTANT_MENU 
ID_CREATEPANO_MENU 
ID_ASS_LOAD_IMAGES 

Definition at line 98 of file GLPreviewFrame.cpp.

anonymous enum

enum, which contains all different toolbar modes

Enumerator
mode_assistant 
mode_preview 
mode_layout 
mode_projection 
mode_drag 
mode_crop 

Definition at line 115 of file GLPreviewFrame.cpp.

Function Documentation

void ShowFisheyeCropHint ( )

Definition at line 3270 of file GLPreviewFrame.cpp.

References MainFrame::Get(), and MainFrame::ShowMaskEditor().

Referenced by GLPreviewFrame::LoadImages().

Variable Documentation

hugin_omp::Lock cpLock
static

Definition at line 3413 of file GLPreviewFrame.cpp.