Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
HFOVDialog Class Reference

A dialog for HFOV. More...

#include <HFOVDialog.h>

Inheritance diagram for HFOVDialog:
Inheritance graph

Public Member Functions

 HFOVDialog (wxWindow *parent, HuginBase::SrcPanoImage &srcImg)
 ctor. More...
 
virtual ~HFOVDialog ()
 dtor. More...
 
HuginBase::SrcPanoImage GetSrcImage ()
 
double GetCropFactor ()
 
double GetFocalLength ()
 

Private Member Functions

void OnTypeChanged (wxCommandEvent &e)
 
void OnHFOVChanged (wxCommandEvent &e)
 
void OnFocalLengthChanged (wxCommandEvent &e)
 
void OnCropFactorChanged (wxCommandEvent &e)
 
void OnLoadLensParameters (wxCommandEvent &e)
 
void OnOk (wxCommandEvent &e)
 

Private Attributes

wxTextCtrl * m_cropText
 
wxTextCtrl * m_focalLengthText
 
wxTextCtrl * m_hfovText
 
wxChoice * m_projChoice
 
wxButton * m_okButton
 
HuginBase::SrcPanoImage m_srcImg
 
wxString m_focalLengthStr
 
double m_focalLength
 
wxString m_cropFactorStr
 
double m_cropFactor
 
wxString m_HFOVStr
 
double m_HFOV
 

Detailed Description

A dialog for HFOV.

Also allows cancellation

Definition at line 37 of file HFOVDialog.h.

Constructor & Destructor Documentation

HFOVDialog::HFOVDialog ( wxWindow *  parent,
HuginBase::SrcPanoImage srcImg 
)
virtual HFOVDialog::~HFOVDialog ( )
inlinevirtual

dtor.

Definition at line 45 of file HFOVDialog.h.

Member Function Documentation

double HFOVDialog::GetCropFactor ( )

Definition at line 355 of file HFOVDialog.cpp.

References m_cropFactor.

Referenced by PanoCommand::getLensDataFromUser().

double HFOVDialog::GetFocalLength ( )

Definition at line 360 of file HFOVDialog.cpp.

References m_focalLength.

HuginBase::SrcPanoImage HFOVDialog::GetSrcImage ( )

Definition at line 348 of file HFOVDialog.cpp.

References m_cropFactor, m_HFOV, and m_srcImg.

Referenced by PanoCommand::getLensDataFromUser().

void HFOVDialog::OnCropFactorChanged ( wxCommandEvent &  e)
private
void HFOVDialog::OnFocalLengthChanged ( wxCommandEvent &  e)
private
void HFOVDialog::OnHFOVChanged ( wxCommandEvent &  e)
private
void HFOVDialog::OnLoadLensParameters ( wxCommandEvent &  e)
private
void HFOVDialog::OnOk ( wxCommandEvent &  e)
private
void HFOVDialog::OnTypeChanged ( wxCommandEvent &  e)
private

Member Data Documentation

double HFOVDialog::m_cropFactor
private
wxString HFOVDialog::m_cropFactorStr
private

Definition at line 69 of file HFOVDialog.h.

Referenced by OnCropFactorChanged(), and OnLoadLensParameters().

wxTextCtrl* HFOVDialog::m_cropText
private

Definition at line 60 of file HFOVDialog.h.

Referenced by OnCropFactorChanged(), and OnLoadLensParameters().

double HFOVDialog::m_focalLength
private
wxString HFOVDialog::m_focalLengthStr
private

Definition at line 67 of file HFOVDialog.h.

Referenced by OnFocalLengthChanged(), OnHFOVChanged(), and OnLoadLensParameters().

wxTextCtrl* HFOVDialog::m_focalLengthText
private

Definition at line 61 of file HFOVDialog.h.

Referenced by OnFocalLengthChanged(), OnHFOVChanged(), and OnLoadLensParameters().

double HFOVDialog::m_HFOV
private
wxString HFOVDialog::m_HFOVStr
private
wxTextCtrl* HFOVDialog::m_hfovText
private
wxButton* HFOVDialog::m_okButton
private
wxChoice* HFOVDialog::m_projChoice
private

Definition at line 63 of file HFOVDialog.h.

Referenced by OnLoadLensParameters(), and OnTypeChanged().

HuginBase::SrcPanoImage HFOVDialog::m_srcImg
private

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