SaveLensDBDialog Class Reference

dialog for saving lens parameter into lensfun database More...

List of all members.

Public Member Functions

 SaveLensDBDialog (wxWindow *parent)
 Constructor, read from xrc ressource; restore last uses settings, size and position.
void SetCameraMaker (std::string maker)
std::string GetCameraMaker () const
void SetCameraModel (std::string model)
std::string GetCameraModel () const
void SetLensName (std::string lensname)
std::string GetLensName () const
std::string GetLensMaker () const
void SetLensMount (std::string mount)
std::string GetLensMount () const
void SetFocalLength (double focal)
double GetFocalLength () const
void SetAperture (double aperture)
double GetAperture () const
void SetSubjectDistance (double distance)
double GetSubjectDistance () const
bool GetSaveDistortion () const
bool GetSaveVignetting () const
void DeactivateSaveVignetting ()

Protected Member Functions

void OnOk (wxCommandEvent &e)
 Saves current state of all checkboxes when closing dialog with Ok.
void OnCheckChanged (wxCommandEvent &e)

Private Attributes

wxCheckBox * m_saveDistortion
wxCheckBox * m_saveVignetting
double m_focal
double m_aperture
double m_distance


Detailed Description

dialog for saving lens parameter into lensfun database

Definition at line 410 of file wxLensDB.cpp.


Constructor & Destructor Documentation

SaveLensDBDialog::OnCheckChanged SaveLensDBDialog::SaveLensDBDialog wxWindow *  parent  ) 
 

Constructor, read from xrc ressource; restore last uses settings, size and position.

Definition at line 454 of file wxLensDB.cpp.


Member Function Documentation

void SaveLensDBDialog::DeactivateSaveVignetting  ) 
 

Definition at line 595 of file wxLensDB.cpp.

References m_saveVignetting.

Referenced by SaveLensParameters().

double SaveLensDBDialog::GetAperture  )  const
 

Definition at line 569 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

std::string SaveLensDBDialog::GetCameraMaker  )  const
 

Definition at line 503 of file wxLensDB.cpp.

References makefile::string.

Referenced by OnOk(), and SaveLensParameters().

std::string SaveLensDBDialog::GetCameraModel  )  const
 

Definition at line 516 of file wxLensDB.cpp.

References makefile::string.

Referenced by OnOk(), and SaveLensParameters().

double SaveLensDBDialog::GetFocalLength  )  const
 

Definition at line 558 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

std::string SaveLensDBDialog::GetLensMaker  )  const
 

Definition at line 534 of file wxLensDB.cpp.

References makefile::string.

Referenced by SaveLensParameters().

std::string SaveLensDBDialog::GetLensMount  )  const
 

Definition at line 547 of file wxLensDB.cpp.

References makefile::string.

Referenced by SaveLensParameters().

std::string SaveLensDBDialog::GetLensName  )  const
 

Definition at line 529 of file wxLensDB.cpp.

References makefile::string.

Referenced by OnOk(), and SaveLensParameters().

bool SaveLensDBDialog::GetSaveDistortion  )  const
 

Definition at line 585 of file wxLensDB.cpp.

References m_saveDistortion.

Referenced by SaveLensParameters().

bool SaveLensDBDialog::GetSaveVignetting  )  const
 

Definition at line 590 of file wxLensDB.cpp.

References m_saveVignetting.

Referenced by SaveLensParameters().

double SaveLensDBDialog::GetSubjectDistance  )  const
 

Definition at line 580 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

void SaveLensDBDialog::OnCheckChanged wxCommandEvent &  e  )  [protected]
 

Definition at line 644 of file wxLensDB.cpp.

References m_saveDistortion, and m_saveVignetting.

void SaveLensDBDialog::OnOk wxCommandEvent &  e  )  [protected]
 

Saves current state of all checkboxes when closing dialog with Ok.

Definition at line 601 of file wxLensDB.cpp.

References GetCameraMaker(), GetCameraModel(), GetLensName(), m_aperture, m_distance, m_focal, m_saveDistortion, m_saveVignetting, and str2double().

void SaveLensDBDialog::SetAperture double  aperture  ) 
 

Definition at line 563 of file wxLensDB.cpp.

References m_aperture.

Referenced by SaveLensParameters().

void SaveLensDBDialog::SetCameraMaker std::string  maker  ) 
 

Definition at line 495 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

void SaveLensDBDialog::SetCameraModel std::string  model  ) 
 

Definition at line 508 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

void SaveLensDBDialog::SetFocalLength double  focal  ) 
 

Definition at line 552 of file wxLensDB.cpp.

References m_focal.

Referenced by SaveLensParameters().

void SaveLensDBDialog::SetLensMount std::string  mount  ) 
 

Definition at line 539 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

void SaveLensDBDialog::SetLensName std::string  lensname  ) 
 

Definition at line 521 of file wxLensDB.cpp.

Referenced by SaveLensParameters().

void SaveLensDBDialog::SetSubjectDistance double  distance  ) 
 

Definition at line 574 of file wxLensDB.cpp.

References m_distance.

Referenced by SaveLensParameters().


Member Data Documentation

double SaveLensDBDialog::m_aperture [private]
 

Definition at line 443 of file wxLensDB.cpp.

Referenced by OnOk(), and SetAperture().

double SaveLensDBDialog::m_distance [private]
 

Definition at line 444 of file wxLensDB.cpp.

Referenced by OnOk(), and SetSubjectDistance().

double SaveLensDBDialog::m_focal [private]
 

Definition at line 442 of file wxLensDB.cpp.

Referenced by OnOk(), and SetFocalLength().

wxCheckBox* SaveLensDBDialog::m_saveDistortion [private]
 

Definition at line 440 of file wxLensDB.cpp.

Referenced by GetSaveDistortion(), OnCheckChanged(), and OnOk().

wxCheckBox* SaveLensDBDialog::m_saveVignetting [private]
 

Definition at line 441 of file wxLensDB.cpp.

Referenced by DeactivateSaveVignetting(), GetSaveVignetting(), OnCheckChanged(), and OnOk().


The documentation for this class was generated from the following file:
Generated on Mon Jul 28 01:25:52 2014 for Hugintrunk by  doxygen 1.3.9.1