[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CropPanel Class Reference

adjustment dialog More...

#include <CropPanel.h>

Inheritance diagram for CropPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CropPanel ()
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
void Init (PT::Panorama *pano)
virtual ~CropPanel (void)
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)
void CropChanged (vigra::Rect2D &crop, bool dragging)

Protected Member Functions

void Pano2Display (int imgNr)
void Display2Pano ()
void UpdateDisplay ()
 update GUI display
void ListSelectionChanged (wxListEvent &e)
 catches changes to the list selection
void OnResetButton (wxCommandEvent &e)
void OnSetLeft (wxCommandEvent &e)
void OnSetRight (wxCommandEvent &e)
void OnSetTop (wxCommandEvent &e)
void OnSetBottom (wxCommandEvent &e)
void OnAutoCenter (wxCommandEvent &e)
void CenterCrop ()

Protected Attributes

wxTextCtrl * m_left_textctrl
wxTextCtrl * m_right_textctrl
wxTextCtrl * m_top_textctrl
wxTextCtrl * m_bottom_textctrl
wxCheckBox * m_autocenter_cb

Detailed Description

adjustment dialog


Constructor & Destructor Documentation

CropPanel::ListSelectionChanged CropPanel::OnSetRight CropPanel::OnSetBottom CropPanel::OnAutoCenter CropPanel::CropPanel  ) 
 

CropPanel::~CropPanel void   )  [virtual]
 


Member Function Documentation

void CropPanel::CenterCrop  )  [protected]
 

bool CropPanel::Create wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxT("panel")
 

void CropPanel::CropChanged vigra::Rect2D &  crop,
bool  dragging
 

void CropPanel::Display2Pano  )  [protected]
 

void CropPanel::Init PT::Panorama pano  ) 
 

void CropPanel::ListSelectionChanged wxListEvent &  e  )  [protected]
 

catches changes to the list selection

void CropPanel::OnAutoCenter wxCommandEvent &  e  )  [protected]
 

void CropPanel::OnResetButton wxCommandEvent &  e  )  [protected]
 

void CropPanel::OnSetBottom wxCommandEvent &  e  )  [protected]
 

void CropPanel::OnSetLeft wxCommandEvent &  e  )  [protected]
 

void CropPanel::OnSetRight wxCommandEvent &  e  )  [protected]
 

void CropPanel::OnSetTop wxCommandEvent &  e  )  [protected]
 

void CropPanel::Pano2Display int  imgNr  )  [protected]
 

Todo:
use individual get options on the SrcPanoImage, replacing m_imgOpts.

can this be done with img.getSize() / 2 + img.getRadialDistortionCenterShift()?

void CropPanel::panoramaImagesChanged PT::Panorama pano,
const PT::UIntSet imgNr
 

void CropPanel::UpdateDisplay  )  [protected]
 

update GUI display


Member Data Documentation

wxCheckBox* CropPanel::m_autocenter_cb [protected]
 

wxTextCtrl* CropPanel::m_bottom_textctrl [protected]
 

wxTextCtrl* CropPanel::m_left_textctrl [protected]
 

wxTextCtrl* CropPanel::m_right_textctrl [protected]
 

wxTextCtrl* CropPanel::m_top_textctrl [protected]
 


The documentation for this class was generated from the following files:

Generated on Mon Sep 20 01:01:33 2010 for Hugintrunk by doxygen 1.3.9.1