Hugin trunk 0.1
Loading...
Searching...
No Matches
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.
 
virtual ~HFOVDialog ()
 dtor.
 
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
 
wxChoicem_projChoice
 
wxButtonm_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::HFOVDialog ( wxWindow *  parent,
HuginBase::SrcPanoImage srcImg 
)

◆ ~HFOVDialog()

virtual HFOVDialog::~HFOVDialog ( )
inlinevirtual

dtor.

Definition at line 45 of file HFOVDialog.h.

Member Function Documentation

◆ GetCropFactor()

double HFOVDialog::GetCropFactor ( )

Definition at line 353 of file HFOVDialog.cpp.

References m_cropFactor.

◆ GetFocalLength()

double HFOVDialog::GetFocalLength ( )

Definition at line 358 of file HFOVDialog.cpp.

References m_focalLength.

◆ GetSrcImage()

HuginBase::SrcPanoImage HFOVDialog::GetSrcImage ( )

Definition at line 346 of file HFOVDialog.cpp.

References m_cropFactor, m_HFOV, and m_srcImg.

◆ OnCropFactorChanged()

void HFOVDialog::OnCropFactorChanged ( wxCommandEvent &  e)
private

◆ OnFocalLengthChanged()

void HFOVDialog::OnFocalLengthChanged ( wxCommandEvent &  e)
private

◆ OnHFOVChanged()

void HFOVDialog::OnHFOVChanged ( wxCommandEvent &  e)
private

◆ OnLoadLensParameters()

void HFOVDialog::OnLoadLensParameters ( wxCommandEvent &  e)
private

◆ OnOk()

void HFOVDialog::OnOk ( wxCommandEvent &  e)
private

◆ OnTypeChanged()

void HFOVDialog::OnTypeChanged ( wxCommandEvent &  e)
private

Member Data Documentation

◆ m_cropFactor

double HFOVDialog::m_cropFactor
private

◆ m_cropFactorStr

wxString HFOVDialog::m_cropFactorStr
private

Definition at line 69 of file HFOVDialog.h.

Referenced by HFOVDialog(), OnCropFactorChanged(), and OnLoadLensParameters().

◆ m_cropText

wxTextCtrl* HFOVDialog::m_cropText
private

Definition at line 60 of file HFOVDialog.h.

Referenced by HFOVDialog(), OnCropFactorChanged(), and OnLoadLensParameters().

◆ m_focalLength

double HFOVDialog::m_focalLength
private

◆ m_focalLengthStr

wxString HFOVDialog::m_focalLengthStr
private

Definition at line 67 of file HFOVDialog.h.

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

◆ m_focalLengthText

wxTextCtrl* HFOVDialog::m_focalLengthText
private

Definition at line 61 of file HFOVDialog.h.

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

◆ m_HFOV

double HFOVDialog::m_HFOV
private

◆ m_HFOVStr

wxString HFOVDialog::m_HFOVStr
private

◆ m_hfovText

wxTextCtrl* HFOVDialog::m_hfovText
private

◆ m_okButton

wxButton* HFOVDialog::m_okButton
private

◆ m_projChoice

wxChoice* HFOVDialog::m_projChoice
private

Definition at line 63 of file HFOVDialog.h.

Referenced by HFOVDialog(), OnLoadLensParameters(), and OnTypeChanged().

◆ m_srcImg

HuginBase::SrcPanoImage HFOVDialog::m_srcImg
private

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