#include <bitset>
#include <limits>
#include <iostream>
#include <config.h>
#include <GL/glew.h>
#include "panoinc_WX.h"
#include "panoinc.h"
#include "base_wx/platform.h"
#include "base_wx/wxPlatform.h"
#include "base_wx/LensTools.h"
#include "PT/ImageGraph.h"
#include "base_wx/MyProgressDialog.h"
#include "hugin/wxPanoCommand.h"
#include "hugin/config_defaults.h"
#include "hugin/GLPreviewFrame.h"
#include "hugin/huginApp.h"
#include "hugin/MainFrame.h"
#include "hugin/ImagesPanel.h"
#include "hugin/CommandHistory.h"
#include "hugin/GLViewer.h"
#include "hugin/TextKillFocusHandler.h"
#include "hugin/PanoOperation.h"
#include "hugin/PanoOutputDialog.h"
#include <pano13/queryfeature.h>
#include "ToolHelper.h"
#include "Tool.h"
#include "DragTool.h"
#include "PreviewCropTool.h"
#include "PreviewIdentifyTool.h"
#include "PreviewDifferenceTool.h"
#include "PreviewPanoMaskTool.h"
#include "PreviewControlPointTool.h"
#include "PreviewLayoutLinesTool.h"
#include "PreviewColorPickerTool.h"
#include "PreviewGuideTool.h"
#include "ProjectionGridTool.h"
#include "PanosphereSphereTool.h"
#include "OverviewCameraTool.h"
#include "OverviewOutlinesTool.h"
#include <wx/progdlg.h>
Include dependency graph for GLPreviewFrame.cpp:

Go to the source code of this file.
Defines | |
| #define | USE_TOGGLE_BUTTON 1 |
| #define | GLEW_STATIC |
| #define | PF_STYLE (wxMAXIMIZE_BOX | wxMINIMIZE_BOX | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN) |
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 } |
| enum | { mode_assistant = 0, mode_preview, mode_layout, mode_projection, mode_drag, mode_crop } |
| enum, which contains all different toolbar modes More... | |
Functions | |
| EVT_BUTTON (XRCID("preview_center_tool"), GLPreviewFrame::OnCenterHorizontally) EVT_BUTTON(XRCID("preview_fit_pano_tool") | |
| GLPreviewFrame::OnFitPano | EVT_BUTTON (XRCID("preview_fit_pano_tool2"), GLPreviewFrame::OnFitPano) EVT_BUTTON(XRCID("preview_straighten_pano_tool") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten | EVT_BUTTON (XRCID("apply_num_transform"), GLPreviewFrame::OnNumTransform) EVT_CHECKBOX(XRCID("preview_photometric_tool") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric | EVT_TOOL (XRCID("preview_identify_tool"), GLPreviewFrame::OnIdentify) EVT_TOOL(XRCID("preview_color_picker_tool") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker | EVT_CHECKBOX (XRCID("preview_control_point_tool"), GLPreviewFrame::OnControlPoint) EVT_BUTTON(XRCID("preview_autocrop_tool") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop | EVT_BUTTON (XRCID("preview_stack_autocrop_tool"), GLPreviewFrame::OnStackAutocrop) EVT_NOTEBOOK_PAGE_CHANGED(XRCID("mode_toolbar_notebook") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode | EVT_NOTEBOOK_PAGE_CHANGING (XRCID("mode_toolbar_notebook"), GLPreviewFrame::OnToolModeChanging) EVT_BUTTON(XRCID("exposure_default_button") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure | EVT_SPIN_DOWN (XRCID("exposure_spin"), GLPreviewFrame::OnDecreaseExposure) EVT_SPIN_UP(XRCID("exposure_spin") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure | EVT_CHOICE (XRCID("blend_mode_choice"), GLPreviewFrame::OnBlendChoice) EVT_CHOICE(XRCID("drag_mode_choice") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice | EVT_CHOICE (XRCID("projection_choice"), GLPreviewFrame::OnProjectionChoice) EVT_CHOICE(XRCID("overview_mode_choice") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice | EVT_CHOICE (XRCID("preview_guide_choice_crop"), GLPreviewFrame::OnGuideChanged) EVT_CHOICE(XRCID("preview_guide_choice_drag") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged | EVT_CHOICE (XRCID("preview_guide_choice_proj"), GLPreviewFrame::OnGuideChanged) EVT_MENU(XRCID("action_show_overview") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle | EVT_MENU (XRCID("action_show_grid"), GLPreviewFrame::OnSwitchPreviewGrid) EVT_COMMAND_SCROLL(XRCID("layout_scale_slider") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange | EVT_COMMAND_SCROLL_CHANGED (XRCID("layout_scale_slider"), GLPreviewFrame::OnLayoutScaleChange) EVT_TEXT_ENTER(XRCID("pano_text_hfov") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged | EVT_TEXT_ENTER (XRCID("pano_text_vfov"), GLPreviewFrame::OnVFOVChanged) EVT_TEXT_ENTER(XRCID("pano_val_roi_left") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged | EVT_TEXT_ENTER (XRCID("pano_val_roi_top"), GLPreviewFrame::OnROIChanged) EVT_TEXT_ENTER(XRCID("pano_val_roi_right") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged | EVT_TEXT_ENTER (XRCID("pano_val_roi_bottom"), GLPreviewFrame::OnROIChanged) EVT_BUTTON(XRCID("reset_crop_button") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop | EVT_TEXT_ENTER (XRCID("exposure_text"), GLPreviewFrame::OnExposureChanged) EVT_COLOURPICKER_CHANGED(XRCID("preview_background") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged | EVT_MENU (XRCID("ID_SHOW_FULL_SCREEN_PREVIEW"), GLPreviewFrame::OnFullScreen) EVT_MENU(XRCID("action_show_main_frame") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged GLPreviewFrame::OnShowMainFrame | EVT_MENU (XRCID("action_exit_preview"), GLPreviewFrame::OnUserExit) EVT_CHOICE(XRCID("ass_lens_type") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged GLPreviewFrame::OnShowMainFrame GLPreviewFrame::OnLensTypeChanged | EVT_TEXT_ENTER (XRCID("ass_focal_length"), GLPreviewFrame::OnFocalLengthChanged) EVT_TEXT_ENTER(XRCID("ass_crop_factor") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged GLPreviewFrame::OnShowMainFrame GLPreviewFrame::OnLensTypeChanged GLPreviewFrame::OnCropFactorChanged | EVT_BUTTON (XRCID("ass_load_images_button"), GLPreviewFrame::OnLoadImages) EVT_BUTTON(XRCID("ass_align_button") |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged GLPreviewFrame::OnShowMainFrame GLPreviewFrame::OnLensTypeChanged GLPreviewFrame::OnCropFactorChanged GLPreviewFrame::OnAlign | EVT_BUTTON (XRCID("ass_create_button"), GLPreviewFrame::OnCreate) void AddLabelToBitmapButton(wxBitmapButton *button |
Variables | |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged GLPreviewFrame::OnShowMainFrame GLPreviewFrame::OnLensTypeChanged GLPreviewFrame::OnCropFactorChanged GLPreviewFrame::OnAlign wxString | new_label |
| GLPreviewFrame::OnFitPano GLPreviewFrame::OnStraighten GLPreviewFrame::OnPhotometric GLPreviewFrame::OnColorPicker GLPreviewFrame::OnAutocrop GLPreviewFrame::OnSelectMode GLPreviewFrame::OnDefaultExposure GLPreviewFrame::OnIncreaseExposure GLPreviewFrame::OnDragChoice GLPreviewFrame::OnOverviewModeChoice GLPreviewFrame::OnGuideChanged GLPreviewFrame::OnOverviewToggle GLPreviewFrame::OnLayoutScaleChange GLPreviewFrame::OnHFOVChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnROIChanged GLPreviewFrame::OnResetCrop GLPreviewFrame::OnPreviewBackgroundColorChanged GLPreviewFrame::OnShowMainFrame GLPreviewFrame::OnLensTypeChanged GLPreviewFrame::OnCropFactorChanged GLPreviewFrame::OnAlign wxString bool | TextBelow |
Darko Makreshanski
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 GLPreviewFrame.cpp.
|
|
Definition at line 40 of file GLPreviewFrame.cpp. |
|
|
Definition at line 262 of file GLPreviewFrame.cpp. Referenced by GLPreviewFrame::GLPreviewFrame(). |
|
|
Definition at line 29 of file GLPreviewFrame.cpp. |
|
|
Definition at line 96 of file GLPreviewFrame.cpp. |
|
|
enum, which contains all different toolbar modes
Definition at line 110 of file GLPreviewFrame.cpp. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 216 of file GLPreviewFrame.cpp. |
|
|
Definition at line 216 of file GLPreviewFrame.cpp. |
1.3.9.1