[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

LensPanel Class Reference

Define the second the Lens panel. More...

#include <LensPanel.h>

Inheritance diagram for LensPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LensPanel ()
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 ~LensPanel (void)
void RestoreLayoutOnNextResize ()
 hack to restore the layout on next resize
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)
 this is called whenever the panorama has changed.
void UpdateLensDisplay ()
 update the edit Lens values with values from the selected image.
void EnableInputs ()
 enabled or disable the controls depending on selected images
void EditVigCorr (wxCommandEvent &e)

Detailed Description

Define the second the Lens panel.

Note:
currently only one lens per panorama is supported.

Todo:
add support multiple lenses


Constructor & Destructor Documentation

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens LensPanel::OnReset LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::LensPanel  ) 
 

LensPanel::~LensPanel void   )  [virtual]
 


Member Function Documentation

bool LensPanel::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 LensPanel::EditVigCorr wxCommandEvent &  e  ) 
 

void LensPanel::EnableInputs  ) 
 

enabled or disable the controls depending on selected images

void LensPanel::Init PT::Panorama pano  ) 
 

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

this is called whenever the panorama has changed.

This function must now update all the gui representations of the panorama to display the new state.

Functions that change the panororama must not update the GUI directly. The GUI should always be updated to reflect the current panorama state in this function.

This avoids unnessecary close coupling between the controller and the view (even if they sometimes are in the same object). See model view controller pattern.

Todo:
react on different update signals more special

void LensPanel::RestoreLayoutOnNextResize  )  [inline]
 

hack to restore the layout on next resize

void LensPanel::UpdateLensDisplay  ) 
 

update the edit Lens values with values from the selected image.


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

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